[JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Randahl Fink Isaksen








I am wondering if anyone has got an EJB working on 3.0.4 with
a property which is stored as a serialized java object. Even the EJBs that
worked for me on 3.0.2 do no longer work on 3.0.4 if they have a property which
is of some Serializable type which is converted to BLOB. I am using Sap DB.



My previous post contains the exceptions I get on 3.0.4.



Randahl










Re: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Alex Loubyansky
Hello Randahl,

there are BLOB tests in the testsuit that pass successfully.
So, I think your problem is a mapping. Have you tried different
mapping?

alex

Friday, January 10, 2003, 11:34:19 AM, you wrote:

RFI I am wondering if anyone has got an EJB working on 3.0.4 with a property
RFI which is stored as a serialized java object. Even the EJBs that worked
RFI for me on 3.0.2 do no longer work on 3.0.4 if they have a property which
RFI is of some Serializable type which is converted to BLOB. I am using Sap
RFI DB.

RFI My previous post contains the exceptions I get on 3.0.4.

RFI Randahl




---
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



Re[2]: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Alex Loubyansky
Randahl,

do not, please, post it to the development list.

The testsuit deals with byte[] instead of java.lang.Object, though.
But, nevertheless, try different mappings first. Try also BLOB instead
of JAVA_OBJECT.

alex

Friday, January 10, 2003, 1:18:46 PM, you wrote:
RFI That sure is a constructive suggestion. I currently use the default
RFI mapping which stores serialized java.lang.Object instances as LONG
RFI BINARY - is there a relevant alternative?

RFI Again, the mapping worked fine under 3.0.2 - what changed in 3.0.4?
RFI Would somebody please care to comment on that?


RFI Randahl

RFI -Original Message-
RFI From: [EMAIL PROTECTED]
RFI [mailto:[EMAIL PROTECTED]] On Behalf Of Alex
RFI Loubyansky
RFI Sent: 10. januar 2003 11:02
RFI To: Randahl Fink Isaksen
RFI Subject: Re: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone
RFI seen it working?

RFI Hello Randahl,

RFI there are BLOB tests in the testsuit that pass successfully.
RFI So, I think your problem is a mapping. Have you tried different
RFI mapping?

RFI alex

RFI Friday, January 10, 2003, 11:34:19 AM, you wrote:

RFI I am wondering if anyone has got an EJB working on 3.0.4 with a
RFI property
RFI which is stored as a serialized java object. Even the EJBs that
RFI worked
RFI for me on 3.0.2 do no longer work on 3.0.4 if they have a property
RFI which
RFI is of some Serializable type which is converted to BLOB. I am using
RFI Sap
RFI DB.

RFI My previous post contains the exceptions I get on 3.0.4.

RFI Randahl




---
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



Re: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Stephen Coy
Randahl,

I guess I'm the "blob" guy at the moment.

I went back and looked at your earlier emails.

The problem is that you are using a jdbc-type of JAVA_OBJECT.

This is an incorrect use of JAVA_OBJECT. Change it to LONGVARBINARY and it should work fine.

We really need to go through the current standardjbosscmp-jdbc.xml and get rid of all the uses of JAVA_OBJECT.
Prior to 3.0.4, JBoss would explicitly check for JAVA_OBJECT and serialise it, when it is supposed to be the JDBC driver's responsibility.

Steve Coy


On Friday, January 10, 2003, at 08:34  PM, Randahl Fink Isaksen wrote:

I am wondering if anyone has got an EJB working on 3.0.4 with a property which is stored as a serialized java object. Even the EJBs that worked for me on 3.0.2 do no longer work on 3.0.4 if they have a property which is of some Serializable type which is converted to BLOB. I am using Sap DB.

 

My previous post contains the exceptions I get on 3.0.4.

 

Randahl

 



RE: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Randahl Fink Isaksen








Thank you so much Stephen  you are
absolutely right and now it works perfect.



I agree that you definitely need to get
rid of this error in the distribution  I probably wont be the
only one on the planet spending hours trying to figure out what in the world
went wrong from 3.0.2 to 3.0.4.



That was one great tip, you gave me there;
thanks to you we are now running 3.0.4  thumbs up!





Randahl



-Original Message-
From: Stephen Coy [mailto:[EMAIL PROTECTED]]

Sent: 10. januar 2003 12:44
To:
[EMAIL PROTECTED]
Subject: Re: [JBoss-user] CMP on
3.0.4 with BLOB fields - has anyone seen it working?



Randahl,

I guess I'm the blob guy at the moment.

I went back and looked at your earlier emails.

The problem is that you are using a jdbc-type of JAVA_OBJECT.

This is an incorrect use of JAVA_OBJECT. Change it to LONGVARBINARY and it
should work fine.

We really need to go through the current standardjbosscmp-jdbc.xml and get rid
of all the uses of JAVA_OBJECT.
Prior to 3.0.4, JBoss would explicitly check for JAVA_OBJECT and serialise it,
when it is supposed to be the JDBC driver's responsibility.

Steve Coy


On Friday, January 10, 2003, at 08:34 PM, Randahl Fink Isaksen
wrote:

I
am wondering if anyone has got an EJB working on 3.0.4 with a property which is
stored as a serialized java object. Even the EJBs that worked for me on 3.0.2
do no longer work on 3.0.4 if they have a property which is of some
Serializable type which is converted to BLOB. I am using Sap DB.



My previous post contains the exceptions I
get on 3.0.4.



Randahl










RE: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Randahl Fink Isaksen








The beans which worked on 3.0.2 and failed
on 3.0.4 also fails on 3.0.5rc1  I just tested that.



I am forced to go back to 3.0.2 until the
bug related to fields of type java.lang.Object is fixed.





Randahl





-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Randahl Fink Isaksen
Sent: 10. januar 2003 10:34
To:
[EMAIL PROTECTED]
Subject: [JBoss-user] CMP on 3.0.4
with BLOB fields - has anyone seen it working?



I am wondering if anyone has got an
EJB working on 3.0.4 with a property which is stored as a serialized java
object. Even the EJBs that worked for me on 3.0.2 do no longer work on 3.0.4 if
they have a property which is of some Serializable type which is converted to
BLOB. I am using Sap DB.



My previous post contains the
exceptions I get on 3.0.4.



Randahl










RE: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone seen it working?

2003-01-10 Thread Randahl Fink Isaksen
That sure is a constructive suggestion. I currently use the default
mapping which stores serialized java.lang.Object instances as LONG
BINARY - is there a relevant alternative?

Again, the mapping worked fine under 3.0.2 - what changed in 3.0.4?
Would somebody please care to comment on that?


Randahl

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Alex
Loubyansky
Sent: 10. januar 2003 11:02
To: Randahl Fink Isaksen
Subject: Re: [JBoss-user] CMP on 3.0.4 with BLOB fields - has anyone
seen it working?

Hello Randahl,

there are BLOB tests in the testsuit that pass successfully.
So, I think your problem is a mapping. Have you tried different
mapping?

alex

Friday, January 10, 2003, 11:34:19 AM, you wrote:

RFI I am wondering if anyone has got an EJB working on 3.0.4 with a
property
RFI which is stored as a serialized java object. Even the EJBs that
worked
RFI for me on 3.0.2 do no longer work on 3.0.4 if they have a property
which
RFI is of some Serializable type which is converted to BLOB. I am using
Sap
RFI DB.

RFI My previous post contains the exceptions I get on 3.0.4.

RFI Randahl




---
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