Annotation Interface Access


@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface Access
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:
Java Persistence 2.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    (Required) Specification of field- or property-based access.
  • Element Details

    • value

      AccessType value
      (Required) Specification of field- or property-based access.