Talk About Network

Google





Data Bases > Pgsql Interfaces Jdbc > Re: Two BLOBs (...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 1928 of 2101
Post > Topic >>

Re: Two BLOBs (OID) in table?

by books@[EMAIL PROTECTED] (Kris Jurka) Apr 13, 2008 at 09:50 AM

On Sun, 13 Apr 2008, Stanislav Mironov wrote:

> 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.
>
> @[EMAIL PROTECTED]
 private Blob image;
> @[EMAIL PROTECTED]
 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?
>

It's not clear what JDBC calls this actually involves, so it's difficult 
to tell where things are going wrong.  If you can create a test case that 
shows the failure using the postgresql JDBC driver alone, I'd be happy to 
look at it.

Kris Jurka

-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
 




 5 Posts in Topic:
Two BLOBs (OID) in table?
smironov@[EMAIL PROTECTED  2008-04-13 17:29:53 
Re: Two BLOBs (OID) in table?
books@[EMAIL PROTECTED]   2008-04-13 09:50:03 
Re: Two BLOBs (OID) in table?
smironov@[EMAIL PROTECTED  2008-04-14 13:18:51 
Re: Two BLOBs (OID) in table?
books@[EMAIL PROTECTED]   2008-04-14 11:47:15 
Re: Two BLOBs (OID) in table?
books@[EMAIL PROTECTED]   2008-05-19 23:12:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 20:13:04 PST 2009.