pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dennis Thrysøe <dth@conscius.com>
To: pgsql-jdbc@postgresql.org
Subject: LargeObject API
Date: Thu, 02 Aug 2007 09:44:02 +0200
Message-ID: <46B18B42.2020709@conscius.com> (raw)

Hello,

Is there any way to use the proprietary LargeObject API, without 
actually having a reference to the postgresql Drivers's Connection object?

I need to store (potentially) large chunks of data, so as I read the 
documentation I need to use the oid type for performance reasons.

However, if the application is executing within a j2ee server with 
connection pooling, the given Connection instance is just a proxy for 
the actual one.

Otherwise I could possibly use PreparedStatement.setBlob(), but how 
could I create a Blob instance?

I'm not on the mailing list (yet).

-dennis
---------------------------------------------------------------------------
The information in this email is confidential and may be legally protected.




view thread (4+ messages)  latest in thread

Message-ID: <46B18B42.2020709@conscius.com>
Permalink:  ../46B18B42.2020709@conscius.com/
Also on:    postgresql.org/message-id/46B18B42.2020709@conscius.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: dth@conscius.com
  Subject: Re: LargeObject API
  In-Reply-To: <46B18B42.2020709@conscius.com>
  References: <46B18B42.2020709@conscius.com>

* 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