Hibernate OGM and JPA 2.0 Annotations

  • Anghel Leonard


Mapping Java entities in Hibernate OGM can be divided into supported and non-supported annotations. Practically, Hibernate OGM supports the mandatory annotations like @Entity and @Id, as well as all the commonly used annotations like @Table and @Column. However, in the 4.0.0.Beta2 release, it doesn’t support some "pretentious" annotations, like @Inheritance and @DiscriminatorColumn. Unsupported annotations may cause errors or work inappropriately, or may be entirely ignored.


Tennis Player Entity Class Callback Method Bidirectional Association Navigation Information 

Copyright information

© Anghel Leonard 2013

Authors and Affiliations

  • Anghel Leonard
    • 1
  1. 1.CaliforniaUSA

Personalised recommendations