Persistence Unit information

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.


Package The Java package that contains the persistent entities for this persistence unit.

Click Browse and select the package


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.


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.



 

Related task

Adding persistence to a class

 

Related reference

JPA Details view (for entities)