JDBC - setAsciiStream - how to support?

From: "George Henry C(dot) Daswani" <gdaswani(at)marketgroups(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: JDBC - setAsciiStream - how to support?
Date: 2000-11-02 07:32:29
Message-ID: 002101c0449f$0f03f3e0$4b00a8c0@funks
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Kovacs Zoltan Sandor 2000-11-02 07:45:36 RE: RE: new maintainer for the ODBC driver?
Previous Message Manika dey 2000-11-01 22:01:57 using large objects with jdbc