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
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.


  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.


  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.

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

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

 

Related task

Creating a new JPA project

 

Related task

Create New JPA Project wizard