Dali Java Persistence Tools User Guide Release 3.2 Release 3.2 |
|
Property pages |
Dialogs |
Home > User Guide > Reference > Preferences
This section includes information on the following preference pages:
This section also includes information on the following project property pages:
Related tasks
Use the JPA options on the Java Persistence Preferences page to select the general settings for JPA development.
Property | Description |
---|---|
Entity generation from tables |
|
Default package |
Specify the default package name for generated entities. |
JPQL Editing |
|
Specify the case ... |
Specify the case for JPQL identifiers when editing JPQL with content assist,
|
Match case of first character |
If enabled, Dali will match the case with the first character. |
Related tasks
Property | Description |
---|---|
Enable project specific settings |
Select the severity level for reporting validation problem for each category:
You can expand each category to display the possible error and warning messages. |
Related tasks
Use the JPA options on the Properties page to select the database connection to use with the project.
Note: Connection must be active to get data source specific help and validation. |
This table lists the properties available in the JPA options preferences page.
Property | Description |
---|---|
Select the vendor-specific platform. |
|
JPA Implementation |
|
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. |
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. |
Include libraries with this application |
Specify if the selected libraries are included when deploying the application. |
The database connection used to map the persistent entities.
|
|
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. |
Select the location of the metamodel source. |
Related tasks
Use the EclipseLink options on the Properties page to select the EclipseLink-specific options to use with the project.
This table lists the properties available in the EclipseLink page.
Property | Description |
---|---|
Static weaving |
|
Weave classes on build |
If enabled, Dali will weave all applicable class files at build time so that you can deliver pre-woven class files. |
Source classes |
Specifies the location of the Java source files to weave: either a directory or a JAR file. |
Target classes |
Specifies the output location: either a directory or a JAR file. |
Log level |
Specifies the amount and detail of log output. See "Logging" for information on the different logging levels. |
Persistence XML root |
Specifies the location of the persistence.xml file if it is not in the same location as the source. |
Related References
Java Persistence API (JPA) Extensions Reference for EclipseLink
http://www.eclipse.org/eclipselink/documentation/
Related tasks
Use the Entity Generation options on the Properties page to configure the defaults Dali uses when generating entities
This table lists the properties available in the Entity Generation page.
Property | Description |
---|---|
Entity generation from tables |
|
Default package |
Specify the default package name used for generated entities. |
Related tasks
Use the Errors/Warnings options on the Properties page to specify if Dali should report errors and warnings for the project.
This table lists the properties available in the Errors/Warnings page.
Property | Description |
---|---|
Enable project specific settings |
Specify if Dali reports errors and warning for the following features:
You can expand each category to display the possible error and warning messages. |
Related tasks
Use the JAXB options on the Properties page to select the specific JAXB implementation use with the JAXB project.
This table lists the properties available in the JAXB project properties page.
Property | Description |
---|---|
Select the vendor-specific platform. |
|
JAXB Implementation |
|
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. |
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. |
Include libraries with this application |
Specify if the selected libraries are included when deploying the application. |
Related tasks
Use the Schemas options on the Properties page to configure the JAXB schemas to use for validation and content assistance.
Click Add to
This table lists the properties available in the Schemas properties page.
Property | Description |
---|---|
Namespace |
|
Location |
Related reference
Related tasks