-
1. Re: Problem in handling CMP bean in jboss3.0.4 with BLOB fie
garyls Feb 10, 2003 9:28 AM (in response to tcbkarthi)Why don't you make your xml field the Java type java.lang.Object.
This translates into the JDBC type JAVA_OBJECT and the SQL type BLOB via the standardjbosscmp-jdbc.xml configuration file in jboss/server/default/conf.
This worked for me.
Hope it solves your problem -
2. Re: Problem in handling CMP bean in jboss3.0.4 with BLOB fie
scoy Feb 10, 2003 6:51 PM (in response to tcbkarthi)Everything you ever wanted to know (and more) is available in the FAQ at http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/
-
3. Re: Problem in handling CMP bean in jboss3.0.4 with BLOB fie
scoy Feb 10, 2003 7:00 PM (in response to tcbkarthi)This will not work in JBoss 3.0.4 onward.
Do not use JAVA_OBJECT unless you know exactly what it is for so that you can provide the support code for it.
See the JDBC doco for more information.
Change JAVA_OBJECT to VARBINARY or LONGVARBINARY if you have used it already. This is fully compatible with previous behaviour, as JBoss was effectively doing this under the covers in releases prior to 3.0.4 anyway.
Steve