Package org.hibernate.generator
package org.hibernate.generator
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation. The root abstraction is the interface
Generator
.-
ClassDescriptionAnnotationBasedGenerator<A extends Annotation>A
Generator
which receives parameters from a custom generator annotation or id generator annotation.AGenerator
that doesn't generate.A generator that is called to produce a value just before a row is written to the database.Enumerates event types that can result in generation of a new value.For convenience, enumerates the possible combinations ofEventType
.Describes the generation of values of a certain field or property of an entity.Access to information useful during Generator creation and initialization.A generator which produces a new value by actually going ahead and writing a row to the database, then retrieving the value which was generated by the database itself as a side effect of the SQLinsert
orupdate
statement which wrote the row.