Home > Archive > PostgreSQL JDBC > December 2005 > Re: Using WebRow set with Postgresql JDBC drivers...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Using WebRow set with Postgresql JDBC drivers...
Kris Jurka

2005-11-08, 4:12 pm

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. AbstractJdbc2ResultS
et*"
>
> 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,Ma
p)");
> }
>


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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Kris Jurka

2005-12-04, 8:24 pm


[color=darkred]
> Gunnar Stefansson wrote:
>

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


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com