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
AnIdentifierGenerator
that 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 String
CATALOG
The configuration parameter holding the catalog namestatic String
IDENTIFIER_NORMALIZER
The key under which to find theObjectNameNormalizer
in the config param map.static String
PK
The configuration parameter holding the primary key column name of the generated idstatic String
SCHEMA
The configuration parameter holding the schema namestatic String
TABLE
The configuration parameter holding the table name for the generated idstatic String
TABLES
The 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.generator.Generator
generatesOnInsert, generatesOnUpdate, generatesSometimes
-
Methods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, generate, getEventTypes, initialize, 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 theObjectNameNormalizer
in the config param map.- See Also:
- Constant Field Values
-
-