|
||||||||||
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 java.lang.String |
CATALOG
The configuration parameter holding the catalog name |
static java.lang.String |
PK
The configuration parameter holding the primary key column name of the generated id |
static java.lang.String |
SCHEMA
The configuration parameter holding the schema name |
static SQLStatementLogger |
SQL_STATEMENT_LOGGER
|
static java.lang.String |
TABLE
The configuration parameter holding the table name for the generated id |
static java.lang.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 | |
---|---|
java.lang.Object |
generatorKey()
Return a key unique to the underlying database objects. |
java.lang.String[] |
sqlCreateStrings(Dialect dialect)
The SQL required to create the underlying database objects. |
java.lang.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 java.lang.String SCHEMA
static final java.lang.String TABLE
static final java.lang.String TABLES
static final java.lang.String PK
static final java.lang.String CATALOG
static final SQLStatementLogger SQL_STATEMENT_LOGGER
Method Detail |
---|
java.lang.String[] sqlCreateStrings(Dialect dialect) throws HibernateException
dialect
- The dialect against which to generate the create command(s)
HibernateException
- problem creating the create command(s)java.lang.String[] sqlDropStrings(Dialect dialect) throws HibernateException
dialect
- The dialect against which to generate the drop command(s)
HibernateException
- problem creating the drop command(s)java.lang.Object generatorKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |