Hi,
 
I apologize if this got posted twice but I'm not sure I was properly configured the
first time.
 
We are using JBoss 3.0 and are having a problem with type mapping.  We have added the following block to our standardjbosscmp-jdbc.xml file:
 
<mapping>
    <java-type>CPT4Code</java-type>
    <jdbc-type>VARCHAR</jdbc-type>
    <sql-type>TEXT</sql-type>
</mapping>
 
When we look at what gets put in the database for CPT4Code, it's just the serialized version of the object.  We were expecting that it would call toString() to properly map the type.  Are we missing something?
 
Thanks,
-Greg

Reply via email to