ObjectDB ObjectDB

PersistenceUnit.unitName - JPA annotation element

Annotation Element
javax.persistence.PersistenceUnit
String unitName

(Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name.
Default value:
""
Since:
JPA 1.0