Dali Java Persistence Tools User Guide Release 3.2 Release 3.2 |
|
Preferences |
JPA Development perspective |
Home > User Guide > Reference > Dialogs
This section includes information on the following dialogs:
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
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
Specify which operations are propagated throughout the association: All, Persist, Merge, Remove, or Refresh.
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 |
File path |
Enter the filename and path of the mapping file. The default is |
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 Unit |
Select the persistence unit in which to add the mapping file. |
Related reference
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:
|
Related reference
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
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
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
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:
|
Related tasks
Property | Description |
---|---|
Name |
|
Referenced column name |
|
Table |
|
Column definitions |
Related reference
Related tasks
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
Property | Description |
---|---|
Select file from Workspace |
|
Select XML catalog entry |
|
Workspace files |
Related reference