Persistence Unit

This table lists the Persistence Unit information fields available in the JPA Details view for each entity type. These fields are contained in the <persistence-unit-metadata> element in the orm.xml file.

Property Description Default

XML Mapping Data Complete

Specifies that the Java classes in this persistence unit are fully specified by their metadata. Any annotations will be ignored.

This field corresponds to the <xml-mapping-metadata-complete> element in the orm.xml file.


Cascade Persist

Adds cascade-persist to the set of cascade options in entity relationships of the persistence unit.

This field corresponds to the <cascade-persist> element in the orm.xml file.


Schema

The database schema that contains the Table.

This field corresponds to the <schema> element in the orm.xml file.


Catalog

The database catalog that contains the Table.

This field corresponds to the <catalog> element in the orm.xml file.


Access

Specify how the entity its access instance variables.

  • Property – Persistent state accessed through the property accessor methods. The property accessor methods must be public or private.

  • Field – Instance variables are accessed directly. All non-transient instance variables are persistent.


Deliminated identifiers




Related tasks

Related reference