Jakarta Persistence (JPA) Annotation Type

jakarta.persistence.PersistenceProperty

Implemented Interfaces:
Annotation

Describes a single container or persistence provider property. Used in PersistenceContext.

Vendor specific properties may be included in the set of properties, and are passed to the persistence provider by the container when the entity manager is created. Properties that are not recognized by a vendor are ignored.

Since:
Jakarta Persistence (JPA) 1.0

Annotation Elements

String name
The name of the property
Since:
Jakarta Persistence (JPA) 1.0
String value
The value of the property
Since:
Jakarta Persistence (JPA) 1.0

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

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