Project Properties page – JPA Options

Use the JPA 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.
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 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