JPA Facet page

This table lists the properties available on the JPA Facet page of the Create New JPA Project wizard.

Property Description Default
Platform Vendor-specific JPA implementation. EclipseLink
Connection Select the database connection to use with the project. Dali requires an active database connection to use and validate the persistent entities and mappings.

Click Add connection to create a new database connection.


  Override default schema from connection Select a schema other than the default one that is derived from the connection information. Use this option if the default schema cannot be used. For example, use this option when the deployment login differs from the design-time login. The value calculated by Dali.
JPA Implementation Select to use the JPA implementation provided by the server at runtime, or select a specific implementation library that contain the Java Persistence API (JPA) and entities to be added to the project's Java Build Path.

Click Configure default JPA implementation library to create a default library for the project or click Configure user libraries to define additional libraries.

Determined by server.
Persistent class management Specify if Dali will discover annotated classes automatically, or if the annotated classes must be listed in the persistence.xml file.

Note: To insure application portability, you should explicitly list the managed persistence classes that are included in the persistence unit.

Determined by server.
Create orm.xml Specify if Dali should create a default orm.xml file for your entity mappings and persistence unit defaults. Selected