Project Properties page – Java Persistence Options

Use the Java Persistence options on the Properties page to select the database connection to use with the project.

This table lists the properties available in the JPA Details page.

Property Description
Platform Select the vendor-specific platform.
Library 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.

  Include libraries with this application Specify if the selected libraries are included when deploying the application.
Connection The database connection used to map the persistent entities.
  • To create a new connection, click Add Connections.

  • To reconnect to an existing connection, click Reconnect.

  Override default catalog from connection Select a catalog other than the default one derived from the connection information. Use this option if the default catalog is incorrect or cannot be used.
  Override default schema from connection Select a schema other than the default one derived from the connection information. Use this option if the default schema is incorrect or cannot be used. For example, use this option when the deployment login differs from the design-time login.
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.


 

Related task

Modifying persistent project properties