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 ValueGenerationType
    Modifier and Type
    Class
    Description
    @interface 
    Specifies that the annotated field of property is a generated creation timestamp.
    @interface 
    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, and source = DB indicates that the database current_timestamp function should be used.
    @interface 
    Specifies that the value of the annotated property is generated by the database.
    @interface 
    Specifies that a column is defined using a DDL generated always as clause or equivalent, and that Hibernate should fetch the generated value from the database after each SQL INSERT or UPDATE.
    @interface 
    Deprecated.
    ValueGenerationType and AnnotationValueGeneration now provide a much more powerful and typesafe alternative
    @interface 
    Deprecated.
    use CurrentTimestamp instead
    @interface 
    Identifies a field of an entity that holds a tenant id in discriminator-based multitenancy.
    @interface 
    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 
    Specifies that an entity identifier is generated as an IETF RFC 4122 UUID.