AliasGenerator.javaAPI DocHibernate 3.2.5562Tue Jul 12 15:27:30 BST 2005org.hibernate.hql.ast.util


public class AliasGenerator extends Object
Generates class/table/column aliases during semantic analysis and SQL rendering.

Its essential purpose is to keep an internal counter to ensure that the generated aliases are unique.

Fields Summary
private int
Constructors Summary
Methods Summary
public java.lang.StringcreateName(java.lang.String name)

		return StringHelper.generateAlias( name, nextCount() );
private intnextCount()

		return next++;