Version 1

    Hibernate extends Dail JPA functionality.

    There are some hibernate annotations which have support in jpa projects. All the annotations are from “org.hibernate.annotations” package. The support of annotation is a ui representation, validation or both. See the list of supported hibernate annotations:

    @DiscriminatorFormula (JBIDE-4663)

    There is a ui representation for the annotation:

    discr_formula.PNG

    @ForeignKey (JBIDE-4664)

    There is no ui representation. Plugins validates foreign key name  for OneToOne, ManToOne, ManyToMany and Entity mappings.

    @Generated (JBIDE-4665)

    There is a ui representation for the annotation:

    generated.PNG

    The ui representation is implemented only for default mapping. See …

    @GenericGenerator (JBIDE-4527)

    The annotation is not supported for package-level as Dali plug-ins doesn’t support package-level annotations. See this bug

    Except ui representation for this annotation also validation of generation strategy is supported. It either should be one of predefined strategy or the valid class name which implements org.hibernate.id.IdentifierGenerator  interface. Also all generators checked for preventing name duplicates (with @TableGenerator and @SequenceGenerator too).

    There is a ui representation for the annotation:

    generic_generator.PNG

     

    @Index (JBIDE-4666)

    There is only ui representation for the name of the index.

    There is a ui representation for the annotation:

     

    index.PNG

     

    @NamedQuery and @NamedNativeQuery (JBIDE-4521)

    There is a ui representation for the annotations:

     

    hibernate_query.PNG

    All the hibernate annotations you could find here.