Jakarta Persistence (JPA) Annotation Type

jakarta.persistence.Access

Implemented Interfaces:
Annotation
Target:
Type, Method, Field

Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class.
Since:
Jakarta Persistence (JPA) 2.0

Annotation Elements

(Required) Specification of field- or property-based access.
Since:
Jakarta Persistence (JPA) 1.0

Additional JDK methods inherited from java.lang.annotation.Annotation

annotationType(), equals(Object), hashCode(), toString()