setBlob/getBlob, slony and bytea

Поиск
Список
Период
Сортировка
От Tore Halset
Тема setBlob/getBlob, slony and bytea
Дата
Msg-id B0F1EB43-2349-49A5-B3E0-61D36D5CBB85@pvv.ntnu.no
обсуждение исходный текст
Ответы Re: setBlob/getBlob, slony and bytea  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Hello.

My application uses lots of setBlob and getBlob to handle the oid
blobs in the database. I do not use streaming of blobs as my largest
blob are only 5MB.

I want to try out Slony-I. It can replicate bytea fields, but not oid
blobs. As I do not use streaming I just switched over the fields from
oid to bytea.

After the switch to bytea setBlob and getBlob are not working
anymore. Can this be fixed in the driver or do I need to detect if
the blob in the database are oid or bytea before deciding if I should
use setBlob or setBytes?

  - Tore.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: XA end then join fix for WebLogic
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: XA end then join fix for WebLogic