Re: pgsql jdbc with WebSphere 5 - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: pgsql jdbc with WebSphere 5
Date
Msg-id 3DBF6FEA.5080707@xythos.com
Whole thread Raw
In response to pgsql jdbc with WebSphere 5  (Mauro Mozzarelli <mauro@EzPlanet.net>)
List pgsql-jdbc

Mauro Mozzarelli wrote:
> Hi,
>
> I am testing the driver with the beta of a commercial Java Application Server
> and I found a few issues, I would like to help on development/testing, how do
> I do it?
>
> For example on
>
> org.postgresql.jdbc1.AbstractJdbc1Connection.java
>
> setTransactionIsolation
>
> the default is raising an exception, while it should actually set the best
> transaction Isolation level for the DB.
> I corrected it with a default and passed one usability test with my AS.

What is the exception?  What are you passing to this method?

>
> Moreover I need to implement
> org.postgresql.AbstractJdbc2Statement.getFetchSize.
>
> It should return the default no of rows expected by the statement (depending
> on DB implementation). etc.

This is now fixed to no longer throw an exception.  It now returns 0
since fetch size is currently not implemented in the driver.

thanks,
--Barry



pgsql-jdbc by date:

Previous
From: sachi
Date:
Subject: Problem in connecting to database
Next
From: ygloriau@siliage.fr
Date:
Subject: Re: Prepared Statement limit ?