Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Two BLOBs (OID)...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 1928 of 1984
Post > Topic >>

Two BLOBs (OID) in table?

by smironov@[EMAIL PROTECTED] (Stanislav Mironov) Apr 13, 2008 at 05:29 PM

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.

@[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?

-- 
Stanislav Mironov

-- 
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
tan13V112 Fri Jul 4 9:42:34 CDT 2008.