PersistenceContext.unitName - JPA annotation element
Annotation Element javax.persistence.PersistenceContext
String unitName
persistence.xml
file. If the unitName
element is specified, the persistence unit for the entity manager that is accessible in JNDI must have the same name. - Default value:
- ""
- Since:
- JPA 1.0