|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistentIdentifierGenerator
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 |
|---|
static final String SCHEMA
static final String TABLE
static final String TABLES
static final String PK
static final String CATALOG
static final org.apache.commons.logging.Log SQL
| Method Detail |
|---|
String[] sqlCreateStrings(Dialect dialect)
throws HibernateException
dialect -
HibernateException
String[] sqlDropStrings(Dialect dialect)
throws HibernateException
dialect -
HibernateExceptionObject generatorKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||