Package org.hibernate.id
Interface PersistentIdentifierGenerator
-
- All Superinterfaces:
Configurable,ExportableProducer,IdentifierGenerator
- All Known Implementing Classes:
MultipleHiLoPerTableGenerator,SequenceGenerator,SequenceHiLoGenerator,SequenceIdentityGenerator,SequenceStyleGenerator,TableGenerator
public interface PersistentIdentifierGenerator extends IdentifierGenerator
An IdentifierGenerator that requires creation of database objects.
All PersistentIdentifierGenerators have access to a special mapping parameter in theirIdentifierGenerator.configure(Type, Properties, ServiceRegistry)method: schema- See Also:
IdentifierGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCATALOGThe configuration parameter holding the catalog namestatic java.lang.StringIDENTIFIER_NORMALIZERThe key under which to find theObjectNameNormalizerin the config param map.static java.lang.StringPKThe configuration parameter holding the primary key column name of the generated idstatic java.lang.StringSCHEMAThe configuration parameter holding the schema namestatic java.lang.StringTABLEThe configuration parameter holding the table name for the generated idstatic java.lang.StringTABLESThe 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, GENERATOR_NAME, JPA_ENTITY_NAME
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.ObjectgeneratorKey()Deprecated.No longer necessary.-
Methods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, initialize, registerExportables, supportsJdbcBatchInserts
-
-
-
-
Field Detail
-
SCHEMA
static final java.lang.String SCHEMA
The configuration parameter holding the schema name- See Also:
- Constant Field Values
-
TABLE
static final java.lang.String TABLE
The configuration parameter holding the table name for the generated id- See Also:
- Constant Field Values
-
TABLES
static final java.lang.String TABLES
The configuration parameter holding the table names for all tables for which the id must be unique- See Also:
- Constant Field Values
-
PK
static final java.lang.String PK
The configuration parameter holding the primary key column name of the generated id- See Also:
- Constant Field Values
-
CATALOG
static final java.lang.String CATALOG
The configuration parameter holding the catalog name- See Also:
- Constant Field Values
-
IDENTIFIER_NORMALIZER
static final java.lang.String IDENTIFIER_NORMALIZER
The key under which to find theObjectNameNormalizerin the config param map.- See Also:
- Constant Field Values
-
-