Received: from core.marketgroups.com (core.marketgroups.com [216.4.66.18]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eA27Tul22399 for ; Thu, 2 Nov 2000 02:29:56 -0500 (EST) (envelope-from gdaswani@marketgroups.com) Received: from funks (1Cust227.tnt1.ontario2.ca.da.uu.net [63.24.0.227]) by core.marketgroups.com (8.11.0/8.11.0) with SMTP id eA27Tcv24496 for ; Wed, 1 Nov 2000 23:29:39 -0800 Message-ID: <002101c0449f$0f03f3e0$4b00a8c0@funks> From: "George Henry C. Daswani" To: Subject: JDBC - setAsciiStream - how to support? Date: Wed, 1 Nov 2000 23:32:29 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001E_01C0445C.001574A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200011/28 X-Sequence-Number: 64 This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C0445C.001574A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I've taken a look at the JDBC driver (from www.retep.org.uk) - tried th= e 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(fal= se)), 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? ------=_NextPart_000_001E_01C0445C.001574A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
    I've taken a look at th= e JDBC=20 driver (from www.retep.org.uk) - tr= ied the=20 jdbc7.1-1.2.jar
and the jdbc7.0-1.1.jar
 
Both doesn't seem to support the=20 setAsciiStream
jdbc2 PreparedStatement accessor..<= /DIV>
 
I tried using setBytes instead under a tra= nsaction=20 block (setAutoCommit(false)), ie..
 
ps.setBytes(9,this.description.trim().getBytes())
 
but an error shows up,
 
FastPath call returned ERROR: lo_write: in= valid=20 large obj descriptor (0);
 
Any ideas?
------=_NextPart_000_001E_01C0445C.001574A0--