Re: standard LOB support

Поиск
Список
Период
Сортировка
От EBIHARA, Yuichiro
Тема Re: standard LOB support
Дата
Msg-id 01a901c7b497$7776bc40$4a0aa8c0@ipljp.local
обсуждение исходный текст
Ответ на Re: standard LOB support  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: standard LOB support  ("EBIHARA, Yuichiro" <ebihara@iplocks.co.jp>)
Re: standard LOB support  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
Thomas,

Thank you for your comment.

> I found that using getBinaryStream(), setBinaryStream(),
> getCharacterStream()
> and setCharacterStream() to handle LOBs across different DBMS
> is much more
> portable (and reliably) than using the Clob()/Blob() methods.

According to JDBC 3.0 specifiction, those 4 methods may not be compatible to BLOB/CLOB.
Some databases may support them to access LOB data but not all databases.

But my target databases are, actually, only PostgreSQL, Oracle and DB2 and there is no problem with
PostgreSQL.
Also, according to the Oracle JDBC driver manual, Oracle supports stream access to LOB through the 4
methods.

I'll also try DB2 soon.

Thanks,

ebi



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: standard LOB support
Следующее
От: "EBIHARA, Yuichiro"
Дата:
Сообщение: Re: standard LOB support