JDBC4 for datasource code

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема JDBC4 for datasource code
Дата
Msg-id Pine.BSO.4.63.0611030445001.21808@leary2.csoft.net
обсуждение исходный текст
Список pgsql-jdbc
I have a patch for making the datasource code compile with JDK1.6.
http://ejurka.com/pgsql/patches/jdbc4.patch

It does things similar to the main driver splitting off different jdbcN
directories whose files extend from each other.  The one complication is
that for the regular driver the user just asks for a connection and gets
it while for the datasource stuff they must specify which datasource they
want.  The easiest compilation is have a Jdbc4PoolingDataSource and a
Jdbc23PoolingDataSource, but we just got rid of this idea a couple of
releases ago and I'd prefer not to return to it.  What I've done with this
patch is have a dummy top level class whose sole job is to extend one of
the jdbcN specific classes via ant's filter facility.  It's not the best,
but I think it's the way to go.

Any other ideas/problems?

Kris Jurka


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Stefano B."
Дата:
Сообщение: Re: JTable and ResultSet TableModel with big resultset
Следующее
От: Luca Ferrari
Дата:
Сообщение: jtree and sql queries