Skip Headers
Dali Java Persistence Tools User Guide
Release 3.2
Release 3.2
  PDF
PDF
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Property pages
 
Next
Dialogs
 

Preferences

This section includes information on the following preference pages:

This section also includes information on the following project property pages:

Related tasks

Java Persistence Preferences page – JPA

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,

  • Lowercase

  • Uppercase

Match case of first character

If enabled, Dali will match the case with the first character.


Related tasks

Java Persistence Preferences page – Errors/Warnings

Property Description

Enable project specific settings

Select the severity level for reporting validation problem for each category:

  • Project

  • Persistence unit

  • Type

  • Attribute

  • Database

  • Inheritance

  • Queries and generators

You can expand each category to display the possible error and warning messages.


Related tasks

Project Properties page – JPA

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

Platform

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.

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.

Canonical Metamodel

Select the location of the metamodel source.


Related tasks

Project Properties page – EclipseLink

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

Related tasks

Project Properties page – Entity Generation

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

Project Properties page – Errors/Warnings

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:

  • Project

  • Persistence unit

  • Type

  • Attribute

  • Database

  • Inheritance

  • Queries and generators

You can expand each category to display the possible error and warning messages.


Related tasks

Project Properties page – JAXB Options

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

Platform

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

Project Properties page – Schemas

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