pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <jurka@ejurka.com>
To: Gunnar Stefansson <gunnar.stefansson@teamware.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Using WebRow set with Postgresql JDBC drivers...
Date: Mon, 07 Nov 2005 11:53:10 -0800
Message-ID: <436FB0A6.5030504@ejurka.com> (raw)
In-Reply-To: <436F7E01.3090509@teamware.com>
References: <436F7E01.3090509@teamware.com>

Gunnar Stefansson wrote:
> Hello Dear Postgresql JDBC developers.
> 

Please send JDBC questions to the JDBC list, not to individual developers.

> I was experimenting with the WebRowSet reference implementation form Sun 
> and hit a "notImplemented" Exception.
> 
> I made the following changes to the method below (as Sun is sending in 
> an empty map) and everything works as intended,
> 
> I was wondering if you can include this into next update of the official 
> JDBS driver jar (any version)
> 
> (We are still using 7.4.x)
> 
> In "*org.postgresql.jdbc2.AbstractJdbc2ResultSet*"
> 
>     public Object getObjectImpl(int i, java.util.Map map) throws 
> SQLException
>     {
>         checkClosed();
> *        if(map == null || map.isEmpty()) {
>             return internalGetObject(i, fields[i-1]);
>         }*
>         throw org.postgresql.Driver.notImplemented(this.getClass(), 
> "getObjectImpl(int,Map)");
>     }
> 

This seems like a reasonable thing to do.  I'll add it to the 8.0 and 
8.1 drivers.  The 7.4 driver really isn't maintained anymore.

Kris Jurka



view thread (2+ messages)  latest in thread

Message-ID: <436FB0A6.5030504@ejurka.com>
Permalink:  ../436FB0A6.5030504@ejurka.com/
Also on:    postgresql.org/message-id/436FB0A6.5030504@ejurka.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: jurka@ejurka.com, gunnar.stefansson@teamware.com
  Subject: Re: Using WebRow set with Postgresql JDBC drivers...
  In-Reply-To: <436FB0A6.5030504@ejurka.com>
  References: <436F7E01.3090509@teamware.com> <436FB0A6.5030504@ejurka.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