Uses of Annotation Interface
org.hibernate.annotations.ValueGenerationType
Packages that use ValueGenerationType
Package
Description
A set of mapping annotations which extend the O/R mapping annotations defined by JPA.
-
Uses of ValueGenerationType in org.hibernate.annotations
Classes in org.hibernate.annotations with annotations of type ValueGenerationTypeModifier and TypeClassDescription@interfaceSpecifies that the annotated field of property is a generated creation timestamp.@interfaceSpecifies that the annotated field of property is a generated timestamp, and also specifies the timing of the timestamp generation, and whether it is generated in Java or by the database:source = VMindicates that the virtual machine current instant is used, andsource = DBindicates that the databasecurrent_timestampfunction should be used.@interfaceSpecifies that the value of the annotated property is generated by the database.@interfaceSpecifies that a column is defined using a DDLgenerated always asclause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERTorUPDATE.@interfaceDeprecated.@interfaceDeprecated.useCurrentTimestampinstead@interfaceIdentifies a field of an entity that holds a tenant id in discriminator-based multitenancy.@interfaceSpecifies that the annotated field of property is a generated update timestamp. The timestamp is regenerated every time an entity instance is updated in the database.@interfaceSpecifies that an entity identifier is generated as an IETF RFC 4122 UUID.
ValueGenerationTypeandAnnotationValueGenerationnow provide a much more powerful and typesafe alternative