接口的使用
org.hibernate.id.Configurable
-
使用Configurable的程序包 程序包 说明 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中Configurable的使用
实现Configurable的org.hibernate.id中的类 修饰符和类型 类 说明 classAssignedassigned
An IdentifierGenerator that returns the current identifier assigned to an instance.classForeignGeneratorforeign
An Identifier generator that uses the value of the id property of an associated object
One mapping parameter is required: property.classIncrementGeneratorincrement
An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.classMultipleHiLoPerTableGenerator已过时。UseTableGeneratorinstead.classSelectGeneratorA generator that selects the just inserted row to determine the identifier value assigned by the database.classSequenceGenerator已过时。UseSequenceStyleGeneratorinsteadclassSequenceHiLoGenerator已过时。See deprecation discussion onSequenceGeneratorclassSequenceIdentityGenerator已过时。See deprecation discussion onSequenceGeneratorclassUUIDGeneratorclassUUIDHexGeneratoruuid
A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits. -
org.hibernate.id.enhanced中Configurable的使用
实现Configurable的org.hibernate.id.enhanced中的类 修饰符和类型 类 说明 classSequenceStyleGeneratorGenerates identifier values based on a sequence-style database structure.classTableGeneratorAn enhanced version of table-based id generation.
-