pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Using WebRow set with Postgresql JDBC drivers...
2+ messages / 2 participants
[nested] [flat]

* Re: Using WebRow set with Postgresql JDBC drivers...
@ 2005-11-07 19:53  Kris Jurka <jurka@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kris Jurka @ 2005-11-07 19:53 UTC (permalink / raw)
  To: Gunnar Stefansson <gunnar.stefansson@teamware.com>; +Cc: pgsql-jdbc

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Using WebRow set with Postgresql JDBC drivers...
@ 2005-12-04 21:47  Kris Jurka <books@ejurka.com>
  parent: Kris Jurka <jurka@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2005-12-04 21:47 UTC (permalink / raw)
  To: Gunnar Stefansson <gunnar.stefansson@teamware.com>; +Cc: pgsql-jdbc



> Gunnar Stefansson wrote:
>
>> 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,
>>

This change and corresponding changes to CallableStatement.getObject and 
Array.getArray have been made in CVS for 8.0, 8.1, and HEAD and will go 
out in the next official releases.

Kris Jurka




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-12-04 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-07 19:53 Re: Using WebRow set with Postgresql JDBC drivers... Kris Jurka <jurka@ejurka.com>
2005-12-04 21:47 ` Kris Jurka <books@ejurka.com>

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