Two BLOBs (OID) in table?

Поиск
Список
Период
Сортировка
От Stanislav Mironov
Тема Two BLOBs (OID) in table?
Дата
Msg-id 48020AD1.9010608@gmail.com
обсуждение исходный текст
Ответы Re: Two BLOBs (OID) in table?  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: "Toru SHIMOGAKI"
Дата:
Сообщение: Re: Patch to add a socketTimeout property.
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Two BLOBs (OID) in table?