org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil
Simon Stewart wrote:
> Standard JDK classes: java.lang.String, java.net.URL and
> java.util.Date.
>
> It seems as if the code is not going through the steps necessary to
> unmarshal (?) the Object before returning it. From your description,
> it sounds as
Standard JDK classes: java.lang.String, java.net.URL and
java.util.Date.
It seems as if the code is not going through the steps necessary to
unmarshal (?) the Object before returning it. From your description,
it sounds as if some "instanceof" testing is done before the class is
returned. I would
On Thu, May 16, 2002 at 09:59:11AM -0500, Dain Sundstrom wrote:
> Simon Stewart wrote:
> >On Wed, May 15, 2002 at 10:48:48PM -0500, Dain Sundstrom wrote:
>
> Before you do this, make sure it is not a DB or driver bug. I
> specifically remember PostgreSQL having problems with URLs. Try your
>
Simon Stewart wrote:
> On Wed, May 15, 2002 at 10:48:48PM -0500, Dain Sundstrom wrote:
>
>>>I'm starting to suspect that JBoss might be the culprit here. If I
>>>manually extract an object from the byte array, it turns out to be a
>>>java.rmi.MarshalledObject when the expected class was java.lan
I do remember looking at this code in JAWS and saying to myself 'I don't
see how that can work, but nobody's complaining, so I'll leave it be.'
Simon, I take it you're getting this problem with non-jdk classes? There
may be some crufty instanceof testing in there.
-danch
Simon Stewart wrote:
On Wed, May 15, 2002 at 10:48:48PM -0500, Dain Sundstrom wrote:
> >I'm starting to suspect that JBoss might be the culprit here. If I
> >manually extract an object from the byte array, it turns out to be a
> >java.rmi.MarshalledObject when the expected class was java.lang.String.
> >
> >Can anyone
> I'm starting to suspect that JBoss might be the culprit here. If I
> manually extract an object from the byte array, it turns out to be a
> java.rmi.MarshalledObject when the expected class was java.lang.String.
>
> Can anyone shed some light on this? I'm using CMP 2, if that helps.
JBossCMP
gt; data longblob
> ) TYPE=InnoDB;
>
> HTH,
> James
>
> > -----Original Message-
> > From: Simon Stewart [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 15, 2002 5:12 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] Deseriali
ar(64) NOT NULL default '',
data longblob
) TYPE=InnoDB;
HTH,
James
> -Original Message-
> From: Simon Stewart [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 5:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Deserializing objects to DB
>
On Wed, 2002-05-15 at 20:06, Simon Stewart wrote:
> I have a simple EJB that has three fields ("ID", a "key" and a "value")
> Key is a string, and value is given as being of class
> java.io.Serializable, so this class represents a basic key/value pair.
> Data appears to be serialized to the databa
I have a simple EJB that has three fields ("ID", a "key" and a "value")
Key is a string, and value is given as being of class
java.io.Serializable, so this class represents a basic key/value pair.
Data appears to be serialized to the database okay (Postgres 7.2.1,
column type BYTEA) but as a byte
11 matches
Mail list logo