|
||||||||||
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 |
IDENTIFIER_NORMALIZER
The key under whcih to find the ObjectNameNormalizer in the config param map. |
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 |
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, JPA_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 String IDENTIFIER_NORMALIZER
ObjectNameNormalizer
in the config param map.
Method Detail |
---|
String[] sqlCreateStrings(Dialect dialect) throws HibernateException
dialect
- The dialect against which to generate the create command(s)
HibernateException
- problem creating the create command(s)String[] sqlDropStrings(Dialect dialect) throws HibernateException
dialect
- The dialect against which to generate the drop command(s)
HibernateException
- problem creating the drop command(s)Object generatorKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |