pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Henry C. Daswani <gdaswani@marketgroups.com>
To: pgsql-interfaces@postgresql.org
Subject: JDBC - setAsciiStream - how to support?
Date: Wed, 1 Nov 2000 23:32:29 -0800
Message-ID: <002101c0449f$0f03f3e0$4b00a8c0@funks> (raw)

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?

view thread (2+ messages)  latest in thread

Message-ID: <002101c0449f$0f03f3e0$4b00a8c0@funks>
Permalink:  ../002101c0449f$0f03f3e0$4b00a8c0@funks/
Also on:    postgresql.org/message-id/002101c0449f$0f03f3e0$4b00a8c0@funks

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: gdaswani@marketgroups.com
  Subject: Re: JDBC - setAsciiStream - how to support?
  In-Reply-To: <002101c0449f$0f03f3e0$4b00a8c0@funks>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox