Package org.hibernate.id
Interface PersistentIdentifierGenerator
- All Superinterfaces:
BeforeExecutionGenerator,Configurable,ExportableProducer,Generator,IdentifierGenerator,OptimizableGenerator,Serializable
- All Known Implementing Classes:
OrderedSequenceGenerator,SequenceStyleGenerator,TableGenerator
An
IdentifierGenerator that requires creation of database objects.
All instances have access to a special mapping parameter in their
Configurable.configure(GeneratorCreationContext, Properties) method: schema
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe configuration parameter holding the catalog namestatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringThe configuration parameter holding the generator options.static final StringThe configuration parameter holding the primary key column name of the generated idstatic final StringThe configuration parameter holding the schema namestatic final StringThe configuration parameter holding the table name for the generated idstatic final StringThe configuration parameter holding the table names for all tables for which the id must be uniqueFields inherited from interface org.hibernate.id.IdentifierGenerator
CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAMEFields 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
generatedOnExecutionMethods inherited from interface org.hibernate.id.Configurable
configure, initializeMethods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, allowMutation, generatedBeforeExecution, generatedOnExecution, generatesOnForceIncrement, generatesOnInsert, generatesOnUpdate, generatesSometimesMethods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, generate, getEventTypes, registerExportablesMethods inherited from interface org.hibernate.id.OptimizableGenerator
getOptimizer
-
Field Details
-
CATALOG
The configuration parameter holding the catalog name- See Also:
-
SCHEMA
The configuration parameter holding the schema name- See Also:
-
TABLE
The configuration parameter holding the table name for the generated id- See Also:
-
TABLES
The configuration parameter holding the table names for all tables for which the id must be unique- See Also:
-
PK
The configuration parameter holding the primary key column name of the generated id- See Also:
-
IDENTIFIER_NORMALIZER
Deprecated, for removal: This API element is subject to removal in a future version.no longer set, useJdbcEnvironment.getIdentifierHelper()The key under which to find theObjectNameNormalizerin the config param map.- See Also:
-
OPTIONS
The configuration parameter holding the generator options.- See Also:
-
JdbcEnvironment.getIdentifierHelper()