The NullValueClassConverter plugin is shipped with the JDBC connector. To use the NullValueClassConverter for endpoints other than JDBC endpoints, configure CA IAM CS 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 CS 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 © 2013 CA.
All rights reserved.
|
|