XML Element: parameterMap

This element represents the mapping of the parameters. This by itself is a parent and has child element called parameter under it. Every parameter element is a single parameter's mapping information. The typical attributes that are available for a parameterMap are –as follows:

Key

Relation Type

Purpose

id

Attribute

This is the unique ID with which this Parameter map is identified within the Logical Data Source.

class

Attribute

This is the java Class of the object from where the parameters are to be extracted.


The following code segment is a sample definition:

<parameterMap id="MODULE_1_INSERT_DATA" class="java.util.HashMap">
<parameter property="AUDIT_ID" jdbcType="VARCHAR" javaType="java.lang.String" />
<parameter property="EVENT_ID" jdbcType="NUMBER" javaType="java.lang.String"/>
<parameter property="APP_SERVER" jdbcType="VARCHAR" javaType="java.lang.String"/>
</parameterMap>