Hi,
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
|
- [JBoss-user] CMP Type Mapping Greg Greaves
- [JBoss-user] CMP Type Mapping Greg Greaves
- Re: [JBoss-user] CMP Type Mapping Dain Sundstrom