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

RE: JDBC - setAsciiStream - how to support?

From: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
To: "'George Henry C(dot) Daswani'" <gdaswani(at)marketgroups(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: JDBC - setAsciiStream - how to support?
Date: 2000-11-02 10:25:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
You must turn off AutoCommit before any large object call using

Peter Mount 
Enterprise Support Officer, Maidstone Borough Council 
Email: petermount(at)maidstone(dot)gov(dot)uk 
WWW: <>  
All views expressed within this email are not the views of Maidstone Borough

-----Original Message-----
From: George Henry C. Daswani [mailto:gdaswani(at)marketgroups(dot)com]
Sent: Thursday, November 02, 2000 7:32 AM
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] JDBC - setAsciiStream - how to support?

    I've taken a look at the JDBC driver (from
<> ) - 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..
but an error shows up,
FastPath call returned ERROR: lo_write: invalid large obj descriptor (0);
Any ideas?

pgsql-interfaces by date

Next:From: Peter MountDate: 2000-11-02 10:27:45
Subject: RE:
Previous:From: Peter MountDate: 2000-11-02 10:25:01
Subject: RE: using large objects with jdbc

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