JPA 2 Annotations

JPA defines dozens of annotations that can be divided into the following groups:

Annotations for JPA aware classes:

Annotations for fields in JPA persistable classes:

Annotations for additional JPA configuration:

Annotations for JPA lifecycle event callbacks:

Java EE container annotations:

Many other JPA annotations are designated for Object Relational Mapping (ORM) JPA providers (for mapping between a relational database and an object model and for direct SQL queries):

These ORM annotations are silently ignored by ObjectDB.