1. Open the oracle_11g_thin_driver_values.xml file located under "[TDV Server Installation Directory] \conf\adapters\system\oracle_11g_thin_driver\" folder in a text editor.
2. Append the following code at the end of the file.
<common:attributes xmlns:common="http://www.compositesw.com/services/system/util/common">
<common:attribute xmlns:common="http://www.compositesw.com/services/system/util/common">
<common:name>/custom/TO_CHAR(@decimal,~decimal)</common:name>
<common:type>STRING</common:type>
<common:value>TO_CHAR($1, $2)</common:value>
<common:configID>TO_CHAR(@decimal,~decimal)</common:configID>
</common:attribute>
<ns1:attribute xmlns:ns1="http://www.compositesw.com/services/system/util/common">
<ns1:name>/custom/TO_CHAR(~any,~any)</ns1:name>
<ns1:type>STRING</ns1:type>
<ns1:value>TO_CHAR($1, $2)</ns1:value>
<ns1:configID>TO_CHAR(~any,~any)</ns1:configID>
</ns1:attribute></common:attributes>
3. Save the file and restart the TDV Server and Repository services.