Removing blob using pure JDBC (PG7.1)

Поиск
Список
Период
Сортировка
От Jean-Francois Burdet
Тема Removing blob using pure JDBC (PG7.1)
Дата
Msg-id 3A76A20A.D09733D7@adm.unige.ch
обсуждение исходный текст
Список pgsql-jdbc
Hi,

The documentation from jdbc-lo.htm shows how to create and read a blob
object using pure JDBC calls (that is, without using the
org.postgresql.largeobject.* package).

Since the documentation doesn't show it, how can I remove a blob ? Does
a setNull() to the oid pointing to the blob do the job ? (Will the
driver intercept this and make an "unlink" ?)

Or should I stick with
LargeObjectManager lobj =
((org.postgresql.Connection)dbCon).getLargeObjectAPI();
lobj.unlink(oid);
?

Thanks ...

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

Предыдущее
От: Michael Stephenson
Дата:
Сообщение: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems
Следующее
От: Peter T Mount
Дата:
Сообщение: Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems