Two BLOBs (OID) in table? - Mailing list pgsql-jdbc

From Stanislav Mironov
Subject Two BLOBs (OID) in table?
Date
Msg-id 48020AD1.9010608@gmail.com
Whole thread Raw
Responses Re: Two BLOBs (OID) in table?
List pgsql-jdbc
Hello All!

I created entity with 2 BLOB columns in one table: one for image and one
for thumbnail. Storing image and getting it back in another session
works pretty good.

But when I set thumbnail BLOB successfully, the original BLOB becomes
empty. Retrieved entity returns length 0 for image BLOB.

@Lob private Blob image;
@Lob private Blob thumbnail;

Hibernate 3.2.6, Annotations 3.3.0, PostgreSQL 8.3.1, JDBC 8.3-603.
The problem is 100% reproducible. Please, help?

--
Stanislav Mironov

pgsql-jdbc by date:

Previous
From: "Toru SHIMOGAKI"
Date:
Subject: Re: Patch to add a socketTimeout property.
Next
From: Kris Jurka
Date:
Subject: Re: Two BLOBs (OID) in table?