Class VersionGeneration

java.lang.Object
org.hibernate.generator.internal.VersionGeneration
All Implemented Interfaces:
Serializable, BeforeExecutionGenerator, Generator

public class VersionGeneration extends Object implements BeforeExecutionGenerator
A default Generator for @Version properties. This implementation simply delegates back to:

Thus, this implementation reproduces the "classic" behavior of Hibernate. A custom generator specified using a generator annotation will override this implementation, allowing customized versioning.

See Also: