66 Configuring an XML Fragment Mapping

This chapter describes the various components that you must configure in order to use an XML fragment mapping.

This chapter includes the following section:

For information on how to configure TopLink mappings options common to two or more mapping types, see Chapter 121, "Configuring a Mapping".

For information on how to create TopLink mappings, see Chapter 120, "Creating a Mapping".

Table 66-1 lists the configurable options for an XML fragment mapping.

66.1 Introduction to XML Fragment Mapping

Table 66-1 lists the configurable options for an XML fragment mapping.

Table 66-1 Configurable Options for XML Fragment Mapping

Option to Configure Oracle JDeveloper
TopLink Workbench
Java

XPath (see Section 121.4, "Configuring XPath")

Supported Supported Supported

Method or direct field access (see Section 121.6, "Configuring Method or Direct Field Accessing at the Mapping Level")

Supported Supported Supported

Default null value (see Section 121.5, "Configuring a Default Null Value at the Mapping Level")

Supported Supported Supported

Read-only (see Section 121.2, "Configuring Read-Only Mappings")

Supported Supported Supported

Comments (see Section 121.8, "Configuring Mapping Comments")

Supported Supported Supported

Serialized object converter (see Section 121.9, "Configuring a Serialized Object Converter")

Supported Supported Supported

Type conversion converter (see Section 121.10, "Configuring a Type Conversion Converter")

Supported Supported Supported

Object type converter (see Section 121.11, "Configuring an Object Type Converter")

Supported Supported Unsupported

JAXB typesafe enumeration converter (see Section 121.13, "Configuring a JAXB Typesafe Enumeration Converter")

Unsupported Unsupported Supported

For more information, see the following: