Top Description Constructors Methods
org.hibernate.hql

public final Class NameGenerator

extends Object
Class Inheritance
Imports
org.hibernate.MappingException, org.hibernate.engine.SessionFactoryImplementor, org.hibernate.type.Type

Provides utility methods for generating HQL / SQL names. Shared by both the 'classic' and 'new' query translators.
Author
josh

Constructor Summary

AccessConstructor and Description
private
NameGenerator()

Private empty constructor (checkstyle says utility classes should not have default constructors).

Method Summary

Modifier and TypeMethod and Description
public static String[][]
public static String
scalarName(int x, int y)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NameGeneratorback to summary
private NameGenerator()

Private empty constructor (checkstyle says utility classes should not have default constructors).

Method Detail

generateColumnNamesback to summary
public static String[][] generateColumnNames(Type[] types, SessionFactoryImplementor f) throws MappingException
scalarNameback to summary
public static String scalarName(int x, int y)