|
|||||||||||
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 |
CATALOG
The configuration parameter holding the catalog name |
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 org.apache.commons.logging.Log |
SQL
|
static String |
TABLE
The configuration parameter holding the table name for the generated id |
static String |
TABLES
The configuration parameter holding the table names for all tables for which the id must be unique |
Fields inherited from interface org.hibernate.id.IdentifierGenerator |
ENTITY_NAME |
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[] |
sqlDropStrings(Dialect dialect)
The SQL required to remove the underlying database objects. |
Methods inherited from interface org.hibernate.id.IdentifierGenerator |
generate |
Field Detail |
public static final String SCHEMA
public static final String TABLE
public static final String TABLES
public static final String PK
public static final String CATALOG
public static final org.apache.commons.logging.Log SQL
Method Detail |
public String[] sqlCreateStrings(Dialect dialect) throws HibernateException
dialect
-
HibernateException
public String[] sqlDropStrings(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 |