Uses of Class
org.hibernate.annotations.ValueGenerationType
-
Packages that use ValueGenerationType Package Description org.hibernate.annotations 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 ValueGenerationType Modifier and Type Class Description interface
CreationTimestamp
Specifies that the annotated field of property is a generated creation timestamp.interface
CurrentTimestamp
Specifies 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 = VM
indicates that the virtual machine current instant is used, andsource = DB
indicates that the databasecurrent_timestamp
function should be used.interface
Generated
Specifies that the value of the annotated property is generated by the database.interface
GeneratedColumn
Specifies that a column is defined using a DDLgenerated always as
clause or equivalent, and that Hibernate should fetch the generated value from the database after each SQLINSERT
orUPDATE
.interface
GeneratorType
Deprecated.ValueGenerationType
andAnnotationValueGeneration
now provide a much more powerful and typesafe alternativeinterface
Source
Deprecated.useCurrentTimestamp
insteadinterface
TenantId
Identifies a field of an entity that holds a tenant id in discriminator-based multitenancy.interface
UpdateTimestamp
Specifies 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.interface
UuidGenerator
Specifies that an entity identifier is generated as an IETF RFC 4122 UUID.
-