Package org.hibernate.id
Interface PersistentIdentifierGenerator
- All Superinterfaces:
BeforeExecutionGenerator,Configurable,ExportableProducer,Generator,IdentifierGenerator,OptimizableGenerator,Serializable,StandardGenerator
- 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
IdentifierGenerator.configure(Type, Properties, ServiceRegistry) method: schema
- Author:
- Gavin King, Steve Ebersole
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe configuration parameter holding the catalog namestatic final StringThe key under which to find theObjectNameNormalizerin the config param map.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
create, initializeMethods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimesMethods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, generate, getEventTypes, registerExportables, supportsJdbcBatchInsertsMethods 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
The key under which to find theObjectNameNormalizerin the config param map.- See Also:
-