JPA Annotations

Nikhil Purushe edited this page May 28, 2016 · 3 revisions

Only a subset of the JPA annotations are supported. These are the annotations that are supported:

  • Basic
  • Cacheable
  • Column
  • Embeddable
  • Embedded
  • Entity
  • Enumerated
  • GeneratedValue
  • Id
  • JoinColumn
  • JoinTable
  • ManyToMany
  • ManyToOne
  • MappedSuperclass
  • OneToMany
  • OneToOne
  • PostLoad
  • PostPersist
  • PostRemove
  • PostUpdate
  • PrePersist
  • PreRemove
  • PreUpdate
  • Table
  • Transient
  • Version

There is no support for embedded types. Unique/index constraints must be placed on the field/method level. Advanced JPA features are not yet supported such as embedded types, mapping via @JoinTable to secondary tables to define relationships (outside of ManyToMany).

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.