| Package | Description |
|---|---|
| org.hibernate.engine.spi | |
| org.hibernate.id |
<p>
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.mapping |
<p>
This package defines the Hibernate configuration-time metamodel.
|
| org.hibernate.persister.collection |
<p>
This package abstracts the persistence mechanism for collections.
|
| org.hibernate.persister.entity |
<p>
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
| org.hibernate.tuple |
<p>
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 | Interface and Description |
|---|---|
interface |
BulkInsertionCapableIdentifierGenerator
Specialized contract for
IdentifierGenerator implementations capable of being used in conjunction
with HQL insert statements. |
interface |
PersistentIdentifierGenerator
An <tt>IdentifierGenerator</tt> 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
<b>assigned</b><br>
<br>
An <tt>IdentifierGenerator</tt> 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
<b>foreign</b><br>
<br>
An <tt>Identifier</tt> generator that uses the value of the id property of an
associated object<br>
<br>
One mapping parameter is required: property.
|
class |
GUIDGenerator
Generates <tt>string</tt> 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
<b>increment</b><br>
<br>
An <tt>IdentifierGenerator</tt> that returns a <tt>long</tt>, 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
<b>uuid</b><br>
<br>
A <tt>UUIDGenerator</tt> 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 |
Component.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
String defaultCatalog,
String defaultSchema,
RootClass rootClass) |
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) |
| Constructor and Description |
|---|
ValueGenerationPlan(IdentifierGenerator subGenerator,
Setter injector) |
| Modifier and Type | Method and Description |
|---|---|
IdentifierGenerator |
AbstractCollectionPersister.getIdentifierGenerator() |
IdentifierGenerator |
CollectionPersister.getIdentifierGenerator()
Get the surrogate key generation strategy (optional operation)
|
| 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 |
IdentifierAttribute.getIdentifierGenerator() |
IdentifierGenerator |
IdentifierProperty.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 © 2001-2018 Red Hat, Inc. All Rights Reserved.