Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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?

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group