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