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.

Generic

JPA Implementation

Select a specific JPA library configuration.

Click Manage libraries to create or update a user library.

Click Download libraries to download a specific library configuration.

Depending on your JPA implementation (for example, Generic or EclipseLink), different options may be available when working with JPA projects


Type

Select User Library to select from the available user-defined or downloaded libraries.

If you select Disable, you must manually include the JPA implementation library on the project classpath.

User Library

Include libraries with this application

Specify if the selected libraries are included when deploying the application.

Selected

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.


Add driver library to build path

Specify if the connection driver libraries are included when deploying the application.


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.

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 mapping file (orm.xml)

Specify if Dali should create a default orm.xml file for your entity mappings and persistence unit defaults.

Selected


Related tasks

Related reference