| Package | Description | 
|---|---|
| org.hibernate.cfg | 
 
        This package defines APIs for configuring Hibernate, and classes
        for building the Hibernate configuration-time metamodel. 
 | 
| 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.metamodel.binding | |
| 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 | 
|---|---|
Iterator<IdentifierGenerator> | 
Configuration.iterateGenerators(Dialect dialect)  | 
| Modifier and Type | Method and Description | 
|---|---|
IdentifierGenerator | 
SessionFactoryImplementor.getIdentifierGenerator(String rootEntityName)
Get the identifier generator for the hierarchy 
 | 
| 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
A hilo IdentifierGenerator that returns a Long, constructed using
 a hi/lo algorithm. 
 | 
class  | 
SelectGenerator
A generator that selects the just inserted row to determine the identifier
 value assigned by the database. 
 | 
class  | 
SequenceGenerator
sequence 
Generates long values using an oracle-style sequence.  | 
class  | 
SequenceHiLoGenerator
seqhilo 
An IdentifierGenerator that combines a hi/lo algorithm with an underlying oracle-style sequence that generates hi values.  | 
class  | 
SequenceIdentityGenerator
A generator which combines sequence generation with immediate retrieval
 through JDBC3  
getGeneratedKeys. | 
class  | 
TableGenerator
Deprecated. 
 
use  
SequenceStyleGenerator instead. | 
class  | 
TableHiLoGenerator
Deprecated. 
 
use  
SequenceStyleGenerator instead. | 
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 an sequence-style database structure. 
 | 
| 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 | 
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 | 
|---|
Component.ValueGenerationPlan(String propertyName,
                             IdentifierGenerator subGenerator,
                             Setter injector)  | 
| Modifier and Type | Method and Description | 
|---|---|
IdentifierGenerator | 
EntityIdentifier.createIdentifierGenerator(IdentifierGeneratorFactory factory,
                         Properties properties)  | 
IdentifierGenerator | 
EntityIdentifier.getIdentifierGenerator()  | 
| 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. 
 | 
static IdentifierProperty | 
PropertyFactory.buildIdentifierProperty(EntityBinding mappedEntity,
                       IdentifierGenerator generator)
Generates an IdentifierProperty representation of the for a given entity mapping. 
 | 
| Constructor and Description | 
|---|
IdentifierProperty(String name,
                  String node,
                  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-2015 Red Hat, Inc. All Rights Reserved.