File
Doc
Category
Size
Date
Package
AliasGenerator.java
API Doc
Hibernate 3.2.5
562
Tue Jul 12 15:27:30 BST 2005
org.hibernate.hql.ast.util
AliasGenerator
java.lang.Object
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
next
Constructors Summary
Methods Summary
public
java.lang.String
createName
(
java.lang.String
name)
return StringHelper.generateAlias( name, nextCount() );
private
int
nextCount
()
return next++;
Java Code Source