Package org.hibernate.id
Interface PersistentIdentifierGenerator
-
- All Superinterfaces:
BeforeExecutionGenerator,Configurable,ExportableProducer,Generator,IdentifierGenerator,OptimizableGenerator,Serializable,StandardGenerator
- All Known Implementing Classes:
OrderedSequenceGenerator,SequenceStyleGenerator,TableGenerator
public interface PersistentIdentifierGenerator extends OptimizableGenerator
AnIdentifierGeneratorthat requires creation of database objects.All instances have access to a special mapping parameter in their
IdentifierGenerator.configure(Type, Properties, ServiceRegistry)method: schema- See Also:
IdentifierGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATALOGThe configuration parameter holding the catalog namestatic StringIDENTIFIER_NORMALIZERThe key under which to find theObjectNameNormalizerin the config param map.static StringPKThe configuration parameter holding the primary key column name of the generated idstatic StringSCHEMAThe configuration parameter holding the schema namestatic StringTABLEThe configuration parameter holding the table name for the generated idstatic 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
CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
-
Fields inherited from interface org.hibernate.id.OptimizableGenerator
DEFAULT_INCREMENT_SIZE, DEFAULT_INITIAL_VALUE, IMPLICIT_NAME_BASE, INCREMENT_PARAM, INITIAL_PARAM, OPT_PARAM
-
-
Method Summary
-
Methods inherited from interface org.hibernate.generator.BeforeExecutionGenerator
generatedOnExecution
-
Methods inherited from interface org.hibernate.id.Configurable
create, initialize
-
Methods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimes
-
Methods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, generate, getEventTypes, registerExportables, supportsJdbcBatchInserts
-
Methods inherited from interface org.hibernate.id.OptimizableGenerator
getOptimizer
-
-
-
-
Field Detail
-
CATALOG
static final String CATALOG
The configuration parameter holding the catalog name- See Also:
- Constant Field Values
-
SCHEMA
static final String SCHEMA
The configuration parameter holding the schema name- See Also:
- Constant Field Values
-
TABLE
static final String TABLE
The configuration parameter holding the table name for the generated id- See Also:
- Constant Field Values
-
TABLES
static final 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 String PK
The configuration parameter holding the primary key column name of the generated id- See Also:
- Constant Field Values
-
IDENTIFIER_NORMALIZER
static final String IDENTIFIER_NORMALIZER
The key under which to find theObjectNameNormalizerin the config param map.- See Also:
- Constant Field Values
-
-