Randahl,
Have you updated your client libs? I found that with the 3.0.2 jboss
client libs, I couldn't run my JUnit tests on a 3.0.4 system. The problem
went away once I moved to 3.0.4 client libs.
As to the blobs, if you use Oracle, have a look at the recent messages
about Oracle and Blobs/CLobs.
Ciao,
Jonathan
"Randahl Fink Isaksen" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09.01.2003 14:41
Please respond to jboss-user
To: <[EMAIL PROTECTED]>
cc:
Subject: RE: [JBoss-user] New JBoss breaks CMP of serializable object
fields
(Upgrade from 3.0.2 to 3.0.4)
Well, as I mentioned I can't make it write new data either (see the
original post below). Something is definitely wrong - or am I the only
one having trouble writing EJBs with fields containing serialized
objects into BLOB columns?
Randahl
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Jonathan.O'[EMAIL PROTECTED]
Sent: 9. januar 2003 14:47
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] New JBoss breaks CMP of serializable object
fields (Upgrade from 3.0.2 to 3.0.4)
Randahl,
Unfortunately, some code changed, and 3.0.4 can't read data written with
3.0.2. I think it happened when JBoss went from 3.0.2 to 3.0.3.
No doubt, somebody else knows the exact reason.
Ciao,
Jonathan
"Randahl Fink Isaksen" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09.01.2003 11:48
Please respond to jboss-user
To: <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
cc:
Subject: [JBoss-user] New JBoss breaks CMP of
serializable object fields (Upgrade
from 3.0.2 to 3.0.4)
After upgrading from 3.0.2 to 3.0.4 it seems JBoss handles EJB
properties
of type Serializable in a different way.
My whole solution is running the way it used to except for one thing:
Those of my EJB's which have CMP fields which are of type serializable
object fail. For instance, one of my beans has a field called
"validator"
which stores a serialized java object. After I started using JBoss 3.0.4
it was no longer possible to read these beans from the database. JBoss
threw this exception:
java.sql.SQLException: Got a [B[cl=0, value=[B@1ab7626] while looking
for
a dk.r
ockit.puls.value.property.validator.Validator[cl=31889293]
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.coerceToJavaType(JDBCUtil.jav
a:570)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.getResult(JDBCUtil.java:437)
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.load
ArgumentResults(JDBCAbstractCMPFieldBridge.java:359)
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.load
InstanceResults(JDBCAbstractCMPFieldBridge.java:312)
?
Extensive testing has shown that all EJBs which have a serializable
object
field with a non-null value cannot be read from or written to the
database
(a SAP DB). As another example, I have an EJB which has a field called
"menuBar" which stores a serialized java object. When setting a non-null
value for this field on my EJB I get the following exception
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user