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 interfaceCreationTimestampSpecifies that the annotated field of property is a generated creation timestamp.interfaceCurrentTimestampSpecifies 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.interfaceGeneratedSpecifies that the value of the annotated property is generated by the database.interfaceGeneratedColumnSpecifies 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.interfaceGeneratorTypeDeprecated.ValueGenerationTypeandAnnotationValueGenerationnow provide a much more powerful and typesafe alternativeinterfaceSourceDeprecated.useCurrentTimestampinsteadinterfaceTenantIdIdentifies a field of an entity that holds a tenant id in discriminator-based multitenancy.interfaceUpdateTimestampSpecifies 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.
-