pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Barker <mike@middlesoft.co.uk>
To: pgsql-jdbc@postgresql.org
Subject: Re: [Patch] JDBC3 Blob support
Date: Fri, 04 Mar 2005 20:39:17 -0800
Message-ID: <1109997557.3838.1.camel@corona> (raw)
In-Reply-To: <Pine.BSO.4.56.0502191512160.18612@leary.csoft.net>
References: <1108864694.5883.5.camel@corona>
	<Pine.BSO.4.56.0502191512160.18612@leary.csoft.net>

Attached is a patch for Blob and Clob support with JUnits.

Regards,
Michael Barker.

On Sat, 2005-02-19 at 15:15 -0500, Kris Jurka wrote:
> 
> On Sat, 19 Feb 2005, Michael Barker wrote:
> 
> > I have attached a patch that provides support for JDBC 3 Blobs for the
> > PostgreSQL driver.
> > 
> > JUnit tests are included.  The only method that is not implemented is
> > truncate().  I couldn't find a simple efficient method for doing this
> > via the LargeObject API.
> > 
> 
> You have not included the unit tests.  What about implemeting these 
> methods for CLOB at the same time?  They're pretty much identical.
> 
> You have included your username and password in build.properties though,
> you can put these values in a file called build.local.properties and they
> will not show up in diffs.
> 
> Kris Jurka
> 

Attachments:

  blob-clob.patch.gz (application/x-gzip, 5.8K) download

view thread (8+ messages)  latest in thread

Message-ID: <1109997557.3838.1.camel@corona>
Permalink:  ../1109997557.3838.1.camel@corona/
Also on:    postgresql.org/message-id/1109997557.3838.1.camel@corona

 · 

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: mike@middlesoft.co.uk
  Subject: Re: [Patch] JDBC3 Blob support
  In-Reply-To: <1109997557.3838.1.camel@corona>
  References: <1108864694.5883.5.camel@corona> <Pine.BSO.4.56.0502191512160.18612@leary.csoft.net> <1109997557.3838.1.camel@corona>

* 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