Please insert these two lines into the JDBCCommand. The patch has been
applied to the 2.4 branch some time ago, but unfortunately didn't make it
into 3.0.
Description:
when a cmp field of type byte[] is written, it is written as a plain byte
array (no serialization takes place). when it is read back, it is
deserialized .. and that - of course - fails!
=============================================================
--- src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java 12 Jan 2002 21:14:27
-0000 1.41
+++ src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java 14 Jun 2002 15:14:34
+-0000
@@ -454,6 +454,8 @@
if( bytes == null ) {
result = null;
+ } else if (destination.getName().equals("[B")) {
+ return bytes;
} else {
// We should really reuse these guys
=============================================================
Thanks,
Holger
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development