org.hibernate.id.Configurable |
Known Indirect Subclasses
Assigned,
ForeignGenerator,
IncrementGenerator,
MultipleHiLoPerTableGenerator,
SelectGenerator,
SequenceGenerator,
SequenceHiLoGenerator,
SequenceIdentityGenerator,
SequenceStyleGenerator,
TableGenerator,
TableHiLoGenerator,
UUIDGenerator,
UUIDHexGenerator
Assigned |
assigned
An IdentifierGenerator that returns the current identifier assigned
to an instance. |
ForeignGenerator |
foreign
An Identifier generator that uses the value of the id property of an
associated object
One mapping parameter is required: property. |
IncrementGenerator |
increment
An IdentifierGenerator that returns a long, constructed by
counting from the maximum primary key value at startup. |
MultipleHiLoPerTableGenerator |
A hilo IdentifierGenerator that returns a Long, constructed using
a hi/lo algorithm. |
SelectGenerator |
A generator that selects the just inserted row to determine the identifier
value assigned by the database. |
SequenceGenerator |
sequence
Generates long values using an oracle-style sequence. |
SequenceHiLoGenerator |
seqhilo
An IdentifierGenerator that combines a hi/lo algorithm with an underlying
oracle-style sequence that generates hi values. |
SequenceIdentityGenerator |
A generator which combines sequence generation with immediate retrieval
through JDBC3 getGeneratedKeys . |
SequenceStyleGenerator |
Generates identifier values based on an sequence-style database structure. |
TableGenerator |
An enhanced version of table-based id generation. |
TableHiLoGenerator |
hilo
An IdentifierGenerator that returns a Long, constructed using
a hi/lo algorithm. |
UUIDGenerator |
An IdentifierGenerator which generates UUID values using a pluggable
generation strategy . |
UUIDHexGenerator |
uuid
A UUIDGenerator that returns a string of length 32,
This string will consist of only hex digits. |
|
Class Overview
An IdentifierGenerator that supports "configuration".
Summary
Public Methods |
abstract
void
|
configure(Type type, Properties params, Dialect d)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
Public Methods
public
abstract
void
configure
(Type type, Properties params, Dialect d)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
This method is called just once, following instantiation.
Parameters
params
| param values, keyed by parameter name
|