JPA Annotation

Access

Target: TYPE, METHOD, FIELD
Implemented Interfaces:
Annotation

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:
JPA 2.0

Public Annotation Attributes

AccessType value default null
(Required) Specification of field- or property-based access.
Since:
JPA 2.0