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
Preferences
 
Next
JPA Development perspective
 

Dialogs

This section includes information on the following dialogs:

Edit Join Columns dialog

Use the Join Columns dialog to create or modify the join tables and columns in relationship mappings.

This table lists the properties available in the Join Columns dialog.

Property Description

Name

Name of the joint table column that contains the foreign key column.

Referenced Column Name

Name of the database column that contains the foreign key reference for the entity relationship.


Related reference

Add Join Column dialog

Use the Join Columns dialog to create or modify the join tables and columns in relationship mappings.

This table lists the properties available in the Add Join Column dialog.

Property Description

Name

Name of the joint table column that contains the foreign key column.

Referenced Column Name

Name of the database column that contains the foreign key reference for the entity relationship.

Table


Column definition


Insertable


Updatable


Unique


Mutable



Related reference

Select Cascade dialog

Specify which operations are propagated throughout the association: All, Persist, Merge, Remove, or Refresh.

New EclipseLink Mapping File dialog

Specify the location and properties of the EclipseLink mapping file (eclipselink-orm.xml).

Property Description

Project

Select the project in which to add the mapping file.

Source folder

Click Browse and select the source file in which to add the mapping file. The default is ../<PROJECT>/src.

File path

Enter the filename and path of the mapping file. The default is META-INF/eclipselink-orm.xml.

Default access

Select whether the entity's access to instance variables is field-based or property-based, as defined in the JPA specification.

Add to persistence unit

Specify if this mapping file should be added to the persistence unit (persistence.xml).

  Persistence Unit

Select the persistence unit in which to add the mapping file.


Related reference

Add Converter dialog

Use this dialog to create a new EclipseLink converter.

Property Description

Name

Enter the name for this converter. Converter names must be unique within the persistence unit.

Type

Select the converter type:

  • Custom

  • Object type

  • Struct

  • Type


Related reference

Mapping Type Selection dialog

Use this dialog to select a specific mapping type for the attribute or entity.

Property Description

Enter mapping type or pattern

Enter the name (or part of a name) of a mapping type.

Leave blank to show all available options.

Matched items

Dali displays the mapping types that match your search pattern.


Related tasks

JPA Metadata Conversion dialog

Use this dialog to export your JPA metadata (converters, queries, and generators) to an XML mapping file.

Duplicated or overridden annotations will not be included in the generated mapping file.

Property Description

Mapping file

Name and location of the XML file in which to save the JPA metadata



WARNING:

Malformed metadata will result in a non-functional mapping file


Related tasks

Make Persistent dialog

Use this dialog to add persistence to a Java class.

Property Description

Annotate in Java

Specify if Dali should use annotations. If disabled, Dali will add persistence information in the XML mapping file.

Add to XML mapping file

Specify if Dali should add persistence information in the XML mapping file. If disabled, Dali will use annotations.

Java classes

For each Java class, select the Mapping type:

List in persistence.xml

Specify if Dali should add persistence properties to the persistence.xml file.


Related tasks

Add Query dialog

Use this dialog to add a new named query or native named query .

Property Description

Name

Name of the query

Type

Select the type of query to create:

  • Named query

  • Native named query


Related tasks

Add Primary Key Join Column dialog

Property Description

Name


Referenced column name


Table


Column definitions



Related reference

Related tasks

Add Schema Location dialog

Use this dialog to configure a new schema namespace and the location where it can be found.

Property Description

Location

Click Browse and use the Select Schema Location dialog to specify the location of the schema.

Namespace



Related reference

Select Schema Location dialog

Property Description

Select file from Workspace


Select XML catalog entry


Workspace files



Related reference

Add Virtual Attribute dialog

Use this dialog to add a new virtual attribute to the JPA entity.

Property Description

Name

Name of the virtual attribute

Map As

Select the mapping for the attribute

Attribute type

Click Browse and select the Java type of the attribute.


Related tasks