Top Description Interfaces Classes Enums
[default module]

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 org.hibernate.generator.Generator.

Interface Summary

Modifier and TypeInterface and Description
public interface
AnnotationBasedGenerator<
The generator annotation type supported by an implementation
A extends Annotation
>

A Generator which receives parameters from a custom generator annotation or id generator annotation.

public interface
BeforeExecutionGenerator

A generator that is called to produce a value just before a row is written to the database.

public interface
Generator

Describes the generation of values of a certain field or property of an entity.

public interface
public interface
OnExecutionGenerator

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 SQL insert or update statement which wrote the row.

Class Summary

Modifier and TypeClass and Description
public class
EventTypeSets

For convenience, enumerates the possible combinations of EventType.

Enum Summary

Modifier and TypeEnum and Description
public enum
EventType

Enumerates event types that can result in generation of a new value.