9.22.2 Annotations that do not depend on the JPA Provider
Irrespective of the file type, you can use the annotations that do not depend on the JPA Provider, in the entity class.
For details on the list of annotations included in the javax.persistence package, see 8.12 javax.persistence package.