|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IdentifierGenerator that requires creation of database objects.
All PersistentIdentifierGenerators that also implement
Configurable have access to a special mapping parameter: schema
IdentifierGenerator
,
Configurable
Field Summary | |
static String |
PK
The configuration parameter holding the primary key column name of the generated id |
static String |
SCHEMA
The configuration parameter holding the schema name |
static String |
TABLE
The configuration parameter holding the table name for the generated id |
Method Summary | |
Object |
generatorKey()
Return a key unique to the underlying database objects. |
String[] |
sqlCreateStrings(Dialect dialect)
The SQL required to create the underlying database objects. |
String |
sqlDropString(Dialect dialect)
The SQL required to remove the underlying database objects. |
Methods inherited from interface net.sf.hibernate.id.IdentifierGenerator |
generate |
Field Detail |
public static final String SCHEMA
public static final String TABLE
public static final String PK
Method Detail |
public String[] sqlCreateStrings(Dialect dialect) throws HibernateException
dialect
-
HibernateException
public String sqlDropString(Dialect dialect) throws HibernateException
dialect
-
HibernateException
public Object generatorKey()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |