org.hibernate.hql

Class NameGenerator


public final class NameGenerator
extends java.lang.Object

Provides utility methods for generating HQL / SQL names. Shared by both the 'classic' and 'new' query translators.
Author:
josh Mar 18, 2004 7:17:25 AM

Method Summary

static String[][]
generateColumnNames(Type[] types, SessionFactoryImplementor f)
static String
scalarName(int x, int y)

Method Details

generateColumnNames

public static String[][] generateColumnNames(Type[] types,
                                             SessionFactoryImplementor f)
            throws MappingException

scalarName

public static String scalarName(int x,
                                int y)