Skip to main content
Jump to: navigation, search

Difference between revisions of "Configuring an XML Direct Mapping (ELUG)"

m (New page: <div style="float:right;border:1px solid #000000;padding:5px">__TOC__ Related Topics</div> This section describes the va...)
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Special:Whatlinkshere/Configuring an XML Direct Mapping (ELUG)|Related Topics]]</div>
 
[[Special:Whatlinkshere/Configuring an XML Direct Mapping (ELUG)|Related Topics]]</div>
  
This section describes the various components that you must configure in order to use an XML direct mapping.
+
For information on how to create EclipseLink mappings, see [[Creating%20a%20Mapping%20(ELUG)|Creating a Mapping]].
 
+
For information on how to configure EclipseLink mappings options common to two or more mapping types, see [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]].
+
 
+
For information on how to create EclipseLink mappings, see [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]].
+
 
+
[[#Table 60-1|Configurable Options for XML Direct Mapping]]] lists the configurable options for an XML direct mapping.
+
 
+
 
+
 
+
==Introduction to XML Direct Mapping Configuration==
+
  
 
This table lists the configurable options for an XML direct mapping.
 
This table lists the configurable options for an XML direct mapping.
Line 18: Line 8:
  
 
<span id="Table 60-1"></span>
 
<span id="Table 60-1"></span>
''''' Configurable Options for XML Direct Mapping'''''
 
 
 
{| class="RuleFormalMax" dir="ltr" title="Configurable Options for XML Direct Mapping" summary="This table lists the configurable options for XML Direct Mapping and categorizes them as Basic and Advanced and indicates if the option can be configured with the  Workbench, Java, or both." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all"
 
{| class="RuleFormalMax" dir="ltr" title="Configurable Options for XML Direct Mapping" summary="This table lists the configurable options for XML Direct Mapping and categorizes them as Basic and Advanced and indicates if the option can be configured with the  Workbench, Java, or both." width="100%" border="1" frame="border" rules="all" cellpadding="3" frame="border" rules="all"
 
|- align="left" valign="top"
 
|- align="left" valign="top"
Line 27: Line 15:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r2c1-t2" headers="r1c1-t2" align="left" |
 
| id="r2c1-t2" headers="r1c1-t2" align="left" |
XPath (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring XPath|Configuring XPath]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring XPath|Configuring XPath]]
 
| headers="r2c1-t2 r1c2-t2" align="left" |
 
| headers="r2c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 34: Line 22:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r3c1-t2" headers="r1c1-t2" align="left" |
 
| id="r3c1-t2" headers="r1c1-t2" align="left" |
Simple type translator (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Simple Type Translator|Configuring a Simple Type Translator]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring a Simple Type Translator|Configuring a Simple Type Translator]]
 
| headers="r3c1-t2 r1c2-t2" align="left" |
 
| headers="r3c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 41: Line 29:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r4c1-t2" headers="r1c1-t2" align="left" |
 
| id="r4c1-t2" headers="r1c1-t2" align="left" |
Use of a single node (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring the Use of a Single Node|Configuring the Use of a Single Node]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring the Use of a Single Node|Configuring the Use of a Single Node]]
 
| headers="r4c1-t2 r1c2-t2" align="left" |
 
| headers="r4c1-t2 r1c2-t2" align="left" |
 
[[Image:unsupport.gif|Unsupported]]<br>
 
[[Image:unsupport.gif|Unsupported]]<br>
Line 48: Line 36:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r5c1-t2" headers="r1c1-t2" align="left" |
 
| id="r5c1-t2" headers="r1c1-t2" align="left" |
Use of CDATA (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring the Use of CDATA|Configuring the Use of CDATA]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring the Use of CDATA|Configuring the Use of CDATA]]
 
| headers="r5c1-t2 r1c2-t2" align="left" |
 
| headers="r5c1-t2 r1c2-t2" align="left" |
 
[[Image:unsupport.gif|Unsupported]]<br>
 
[[Image:unsupport.gif|Unsupported]]<br>
Line 55: Line 43:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r6c1-t2" headers="r1c1-t2" align="left" |
 
| id="r6c1-t2" headers="r1c1-t2" align="left" |
Method or direct field access (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring Method or Direct Field Accessing at the Mapping Level|Configuring Method or Direct Field Accessing at the Mapping Level]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring Method or Direct Field Accessing at the Mapping Level|Configuring Method or Direct Field Accessing at the Mapping Level]]
 
| headers="r6c1-t2 r1c2-t2" align="left" |
 
| headers="r6c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 62: Line 50:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r7c1-t2" headers="r1c1-t2" align="left" |
 
| id="r7c1-t2" headers="r1c1-t2" align="left" |
Default null value (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Default Null Value at the Mapping Level|Configuring a Default Null Value at the Mapping Level]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring a Default Null Value at the Mapping Level|Configuring a Default Null Value at the Mapping Level]]
 
| headers="r7c1-t2 r1c2-t2" align="left" |
 
| headers="r7c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 69: Line 57:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r8c1-t2" headers="r1c1-t2" align="left" |
 
| id="r8c1-t2" headers="r1c1-t2" align="left" |
Read-only (see [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring Read-Only Mappings|Configuring Read-Only Mappings]]
 
| headers="r8c1-t2 r1c2-t2" align="left" |
 
| headers="r8c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 76: Line 64:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r9c1-t2" headers="r1c1-t2" align="left" |
 
| id="r9c1-t2" headers="r1c1-t2" align="left" |
Comments (see [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring Mapping Comments|Configuring Mapping Comments]]
 
| headers="r9c1-t2 r1c2-t2" align="left" |
 
| headers="r9c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 83: Line 71:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r10c1-t2" headers="r1c1-t2" align="left" |
 
| id="r10c1-t2" headers="r1c1-t2" align="left" |
Serialized object converter (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Serialized Object Converter|Configuring a Serialized Object Converter]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring a Serialized Object Converter|Configuring a Serialized Object Converter]]
 
| headers="r10c1-t2 r1c2-t2" align="left" |
 
| headers="r10c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 90: Line 78:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r11c1-t2" headers="r1c1-t2" align="left" |
 
| id="r11c1-t2" headers="r1c1-t2" align="left" |
Type conversion converter (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring a Type Conversion Converter|Configuring a Type Conversion Converter]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring a Type Conversion Converter|Configuring a Type Conversion Converter]]
 
| headers="r11c1-t2 r1c2-t2" align="left" |
 
| headers="r11c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 97: Line 85:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r12c1-t2" headers="r1c1-t2" align="left" |
 
| id="r12c1-t2" headers="r1c1-t2" align="left" |
Object type converter (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring an Object Type Converter|Configuring an Object Type Converter]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring an Object Type Converter|Configuring an Object Type Converter]]
 
| headers="r12c1-t2 r1c2-t2" align="left" |
 
| headers="r12c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 104: Line 92:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r13c1-t2" headers="r1c1-t2" align="left" |
 
| id="r13c1-t2" headers="r1c1-t2" align="left" |
JAXB typesafe enumeration converter (see [[Configuring%20a%20Mapping%20(ELUG)#Configuring a JAXB Typesafe Enumeration Converter|Configuring a JAXB Typesafe Enumeration Converter]])
+
[[Configuring%20a%20Mapping%20(ELUG)#Configuring a JAXB Typesafe Enumeration Converter|Configuring a JAXB Typesafe Enumeration Converter]]
 
| headers="r13c1-t2 r1c2-t2" align="left" |
 
| headers="r13c1-t2 r1c2-t2" align="left" |
 
[[Image:unsupport.gif|Unsupported]]<br>
 
[[Image:unsupport.gif|Unsupported]]<br>
Line 111: Line 99:
 
|}
 
|}
  
<br>
 
  
 
For more information, see the following:
 
For more information, see the following:
 
+
* [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Direct Mapping|XML Direct Mapping]]
* [[Introduction%20to%20XML%20Mappings%20(ELUG)#XML Transformation Mapping|XML Transformation Mapping]]
+
 
* [[Configuring%20an%20XML%20Mapping%20(ELUG)|Configuring an XML Mapping]]
 
* [[Configuring%20an%20XML%20Mapping%20(ELUG)|Configuring an XML Mapping]]
 
+
* [[Configuring%20a%20Mapping%20(ELUG)|Configuring a Mapping]]
  
  
Line 125: Line 111:
  
 
[[Category: EclipseLink User's Guide]]
 
[[Category: EclipseLink User's Guide]]
[[Category: Draft]]
+
[[Category: Release 1]]
 
[[Category: Task]]
 
[[Category: Task]]
 +
[[Category: XML]]

Latest revision as of 07:44, 20 August 2008

For information on how to create EclipseLink mappings, see Creating a Mapping.

This table lists the configurable options for an XML direct mapping.


Option to Configure Workbench
Java

Configuring XPath

Supported

Supported

Configuring a Simple Type Translator

Supported

Supported

Configuring the Use of a Single Node

Unsupported

Supported

Configuring the Use of CDATA

Unsupported

Supported

Configuring Method or Direct Field Accessing at the Mapping Level

Supported

Supported

Configuring a Default Null Value at the Mapping Level

Supported

Supported

Configuring Read-Only Mappings

Supported

Supported

Configuring Mapping Comments

Supported

Supported

Configuring a Serialized Object Converter

Supported

Supported

Configuring a Type Conversion Converter

Supported

Supported

Configuring an Object Type Converter

Supported

Unsupported

Configuring a JAXB Typesafe Enumeration Converter

Unsupported

Supported


For more information, see the following:



Copyright Statement

Back to the top