users@glassfish.java.net

Re: blob in glassfish v2

From: galoppoa <annalisa.galoppo_at_acsys.it>
Date: Thu, 20 Dec 2007 04:23:10 -0800 (PST)

I'm mapping a jpeg image to the blob as I 've always done with last glassfish
version.
JDBC driver are the same therefore I think it's a GF/Toplink issue.
Thanks
Annalisa



glassfish wrote:
>
> Are you simply mapping a byte[] to the blob field in the DB, or are you
> mapping something else?
>
> It seems from the traces that Toplink is trying to create some kind of
> object from the blob data (something besides a byte[] that is).
>
> Have you tried making a simple test case where this fails?
>
> I've had a good experience using blobs as byte[], but I'm using Postgres.
> So I dunno if this is a GF/Toplink or JDBC issue.
> [Message sent by forum member 'whartung' (whartung)]
>
> http://forums.java.net/jive/thread.jspa?messageID=249110
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/blob-in-glassfish-v2-tp13289836p14435441.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.