Problems with large objects - Mailing list pgsql-interfaces

From LAN ZHANG
Subject Problems with large objects
Date
Msg-id 19991007155155.1816.qmail@www0r.netaddress.usa.net
Whole thread Raw
List 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 by date:

Previous
From: Peter Mount
Date:
Subject: RE: [INTERFACES] Jdbc-WebServer
Next
From: "Allan Huffman"
Date:
Subject: Help with PostgreSQL