Problems with large objects

Поиск
Список
Период
Сортировка
От LAN ZHANG
Тема Problems with large objects
Дата
Msg-id 19991007155155.1816.qmail@www0r.netaddress.usa.net
обсуждение исходный текст
Список pgsql-interfaces
Hi,

I am using the new jdbc6.5-1.2 to store the large objects. 
The code is the following:   LargeObjectManager lom =           
((postgresql.Connection)con).getLargeObjectAPI();           System.out.println("creating blob to store image...");
oid1= lom.create();           LargeObject blob = lom.open(oid1);   blob.write(buf,0,buf.length);   blob.close();
 

But when it execute the oid1=lom.create(), it gave me this error message:
FastPath protocol error: Z

The old jdbc6.5-1.2 works fine for this program. 
-- Lan


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


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

Предыдущее
От: Peter Mount
Дата:
Сообщение: RE: [INTERFACES] Jdbc-WebServer
Следующее
От: "Allan Huffman"
Дата:
Сообщение: Help with PostgreSQL