Package | Description |
---|---|
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
|
Modifier and Type | Interface and Description |
---|---|
interface |
BulkInsertionCapableIdentifierGenerator
Specialized contract for
IdentifierGenerator implementations capable of being used in conjunction
with HQL insert statements. |
interface |
IdentifierGenerator
The general contract between a class that generates unique
identifiers and the Session.
|
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.
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.