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 String
The configuration parameter holding the catalog namestatic final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
The configuration parameter holding the generator options.static final String
The configuration parameter holding the primary key column name of the generated idstatic final String
The configuration parameter holding the schema namestatic final String
The configuration parameter holding the table name for the generated idstatic final String
The 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_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
configure, initialize
Methods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, allowMutation, generatedBeforeExecution, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimes
Methods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, generate, getEventTypes, registerExportables
Methods 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 theObjectNameNormalizer
in the config param map.- See Also:
-
OPTIONS
The configuration parameter holding the generator options.- See Also:
-
JdbcEnvironment.getIdentifierHelper()