站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

net.sf.hibernate.id (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


Package net.sf.hibernate.id

Interface Summary
Configurable An IdentifierGenerator that supports "configuration".
IdentifierGenerator The general contract between a class that generates unique identifiers and the Session.
PersistentIdentifierGenerator An IdentifierGenerator that requires creation of database objects.
 

Class Summary
Assigned assigned

An IdentifierGenerator that returns the current identifier assigned to an instance.
CounterGenerator Deprecated. use IncrementGenerator instead
ForeignGenerator foreign

An Identifier generator that uses the value of the id property of an associated object

One mapping parameter is required: property.
IdentifierGeneratorFactory Factory and helper methods for IdentifierGenerator framework.
IdentityGenerator The IdentityGenerator for autoincrement/identity key generation.
IncrementGenerator increment

An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.
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.
TableGenerator An IdentifierGenerator that uses a database table to store the last generated value.
TableHiLoGenerator hilo

An IdentifierGenerator that returns a Long, constructed using a hi/lo algorithm.
UUIDGenerator The base class for identifier generators that use a UUID algorithm.
UUIDHexGenerator uuid.hex

A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits.
UUIDStringGenerator uuid.string

A UUIDGenerator that returns a string of length 16, This string will NOT consist of only alphanumeric characters.
 

Exception Summary
IdentifierGenerationException Thrown by IdentifierGenerator implementation class when ID generation fails.