From: | Kris Jurka <jurka(at)ejurka(dot)com> |
---|---|
To: | Gunnar Stefansson <gunnar(dot)stefansson(at)teamware(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Using WebRow set with Postgresql JDBC drivers... |
Date: | 2005-11-07 19:53:10 |
Message-ID: | 436FB0A6.5030504@ejurka.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2005-11-07 21:18:31 | Re: Batch with keygen? |
Previous Message | Mike Clements | 2005-11-07 18:33:43 | Batch with keygen? |