RE: [INTERFACES] Trouble getting large objects

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Vegeta'" <vegeta(at)cuaima(dot)ica(dot)luz(dot)ve>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: [INTERFACES] Trouble getting large objects
Date: 2000-01-10 09:20:07
Message-ID: 1B3D5E532D18D311861A00600865478C70C06B@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

You must use transactions to access large objects. In Java/JDBC you need
to use the line:

conn.setAutoCommit(false);

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Vegeta [mailto:vegeta(at)cuaima(dot)ica(dot)luz(dot)ve]
Sent: Friday, January 07, 2000 4:52 PM
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] Trouble getting large objects

I installed PostgreSQL 6.5.1 on SuSE Linux 6.2 and I am trying to get
a Large Object using the JDBC driver extensions for
large objects, but I always get an exception indicating that the file
descriptor is 0. Why is this?

Thanks,
Vegeta

************

Browse pgsql-interfaces by date

  From Date Subject
Next Message Dave Page 2000-01-10 09:44:33 FW: [INTERFACES] still cannot connect with pgAdmin
Previous Message Sergio Kessler 2000-01-08 18:52:38 Re: [INTERFACES] hacked unixodbc driver..