JDBC - setAsciiStream - how to support? - Mailing list pgsql-interfaces

From George Henry C. Daswani
Subject JDBC - setAsciiStream - how to support?
Date
Msg-id 002101c0449f$0f03f3e0$4b00a8c0@funks
Whole thread Raw
List pgsql-interfaces
Hello,
 
    I've taken a look at the JDBC driver (from www.retep.org.uk) - tried the jdbc7.1-1.2.jar
and the jdbc7.0-1.1.jar
 
Both doesn't seem to support the setAsciiStream
jdbc2 PreparedStatement accessor..
 
I tried using setBytes instead under a transaction block (setAutoCommit(false)), ie..
 
ps.setBytes(9,this.description.trim().getBytes())
 
but an error shows up,
 
FastPath call returned ERROR: lo_write: invalid large obj descriptor (0);
 
Any ideas?

pgsql-interfaces by date:

Previous
From: Manika dey
Date:
Subject: RE: using large objects with jdbc
Next
From: Manika dey
Date:
Subject: RE: using large objects with jdbc