Package | Description |
---|---|
org.hibernate.engine.spi | |
org.hibernate.envers.enhanced | |
org.hibernate.id |
This package contains internal implementation classes for the
main API interfaces.
|
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
org.hibernate.id.factory | |
org.hibernate.id.factory.internal | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
SessionFactoryImplementor.getIdentifierGenerator(String rootEntityName)
Get the identifier generator for the hierarchy
|
IdentifierGenerator |
SessionFactoryDelegatingImpl.getIdentifierGenerator(String rootEntityName) |
Modifier and Type | Class and Description |
---|---|
class |
OrderedSequenceGenerator
Revision number generator has to produce values in ascending order (gaps may occur).
|
Modifier and Type | Interface and Description |
---|---|
interface |
BulkInsertionCapableIdentifierGenerator
Specialized contract for
IdentifierGenerator implementations capable of being used in conjunction
with HQL insert statements. |
interface |
PersistentIdentifierGenerator
An IdentifierGenerator that requires creation of database objects.
|
interface |
PostInsertIdentifierGenerator |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPostInsertGenerator
Basic implementation of the
PostInsertIdentifierGenerator contract. |
class |
AbstractUUIDGenerator
The base class for identifier generators that use a UUID algorithm.
|
class |
Assigned
assigned
An IdentifierGenerator that returns the current identifier assigned to an instance. |
class |
CompositeNestedGeneratedValueGenerator
For composite identifiers, defines a number of "nested" generations that
need to happen to "fill" the identifier property(s).
|
class |
ForeignGenerator
foreign
An Identifier generator that uses the value of the id property of an associated object One mapping parameter is required: property. |
class |
GUIDGenerator
Generates string values using the SQL Server NEWID() function.
|
class |
IdentityGenerator
A generator for use with ANSI-SQL IDENTITY columns used as the primary key.
|
class |
IncrementGenerator
increment
An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup. |
class |
MultipleHiLoPerTableGenerator
Deprecated.
Use
TableGenerator instead. |
class |
SelectGenerator
A generator that selects the just inserted row to determine the identifier
value assigned by the database.
|
class |
SequenceGenerator
Deprecated.
Use
SequenceStyleGenerator instead |
class |
SequenceHiLoGenerator
Deprecated.
See deprecation discussion on
SequenceGenerator |
class |
SequenceIdentityGenerator
Deprecated.
See deprecation discussion on
SequenceGenerator |
class |
UUIDGenerator
|
class |
UUIDHexGenerator
uuid
A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits. |
Modifier and Type | Class and Description |
---|---|
class |
SequenceStyleGenerator
Generates identifier values based on a sequence-style database structure.
|
class |
TableGenerator
An enhanced version of table-based id generation.
|
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
IdentifierGeneratorFactory.createIdentifierGenerator(String strategy,
Type type,
Properties config)
Given a strategy, retrieve the appropriate identifier generator instance.
|
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
DefaultIdentifierGeneratorFactory.createIdentifierGenerator(String strategy,
Type type,
Properties config) |
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
SessionFactoryImpl.getIdentifierGenerator(String rootEntityName) |
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
SimpleValue.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
String defaultCatalog,
String defaultSchema,
RootClass rootClass) |
IdentifierGenerator |
KeyValue.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
String defaultCatalog,
String defaultSchema,
RootClass rootClass) |
IdentifierGenerator |
Component.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
String defaultCatalog,
String defaultSchema,
RootClass rootClass) |
Constructor and Description |
---|
ValueGenerationPlan(IdentifierGenerator subGenerator,
Setter injector) |
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
CollectionPersister.getIdentifierGenerator()
Get the surrogate key generation strategy (optional operation)
|
IdentifierGenerator |
AbstractCollectionPersister.getIdentifierGenerator() |
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
EntityPersister.getIdentifierGenerator()
Determine which identifier generation strategy is used for this entity.
|
IdentifierGenerator |
AbstractEntityPersister.getIdentifierGenerator() |
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
IdentifierProperty.getIdentifierGenerator() |
IdentifierGenerator |
IdentifierAttribute.getIdentifierGenerator() |
Modifier and Type | Method and Description |
---|---|
static IdentifierProperty |
PropertyFactory.buildIdentifierAttribute(PersistentClass mappedEntity,
IdentifierGenerator generator)
Generates the attribute representation of the identifier for a given entity mapping.
|
Constructor and Description |
---|
IdentifierProperty(String name,
Type type,
boolean embedded,
IdentifierValue unsavedValue,
IdentifierGenerator identifierGenerator)
Construct a non-virtual identifier property.
|
IdentifierProperty(Type type,
boolean embedded,
boolean hasIdentifierMapper,
IdentifierValue unsavedValue,
IdentifierGenerator identifierGenerator)
Construct a virtual IdentifierProperty.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.