The NullValueClassConverter plugin is shipped with the JDBC connector. To use the NullValueClassConverter for endpoints other than JDBC endpoints, configure CA IAM Connector Server to load the converter.
Note: The converter is loaded automatically for JDBC endpoints.
Note: The property metadataPropNames has a value of useSpecialNullValue. Add the metadataPropNames metadata attribute to the Connector Xpress Dyn mapping for each attribute that the plugin handles. CA IAM Connector Server checks for the presence of this metadata attribute before enabling the plugin.
To enable the plugin, configure the plugin in an override connector.xml for your endpoint.
Follow these steps:
<property name="classPluginConfigs">
<list>
<bean class="com.ca.jcs.cfg.MetaPluginConfig">
<property name="pluginClass">
<value>com.ca.jcs.converter.meta.NullValueClassConverter</value>
</property>
<property name="pluginConfig">
<bean class="com.ca.jcs.converter.meta.NullValueClassConverter$NullValueConverterConfig">
<property name="nullValue">
<value> </value>
</property>
</bean>
</property>
<property name="metadataPropNames">
<list>
<value>useSpecialNullValue</value>
</list>
</property>
</bean>
</list>
</property>
Note: The property nullValue in the pluginConfig class in the NullValueClassConverter is set to a space by default. To change the null value that the plugin uses, change the nullValue in the config bean.
Copyright © 2014 CA.
All rights reserved.
|
|