Обсуждение: pgsql jdbc with WebSphere 5

Поиск
Список
Период
Сортировка

pgsql jdbc with WebSphere 5

От
Mauro Mozzarelli
Дата:
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.

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.

Please contact me for further info or for cooperation.

Regards,
Mauro

--
Mauro Mozzarelli
EzPlanet - UK
Phone: +44 7941 727378
Email: mauro@ezplanet.net

Re: pgsql jdbc with WebSphere 5

От
Barry Lind
Дата:

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