Re: JDBC 4 Compliance

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: JDBC 4 Compliance
Дата
Msg-id 51C8E88A.4060803@hogranch.com
обсуждение исходный текст
Ответ на Re: JDBC 4 Compliance  (Kevin Wooten <kdubb@me.com>)
Ответы Re: JDBC 4 Compliance  (David Johnston <polobo@yahoo.com>)
Список pgsql-jdbc
On 6/24/2013 4:18 PM, Kevin Wooten wrote:
> Second, porting my implementation back to Java 5/6 and/or PostgreSQL
> servers prior to 9.2.  The current driver has lots of special case
> code for servers and now JDK’s that have been EOL’d.  My project
> implementation currently has none, it runs on JDK 7/JDBC 4.1 and
> Postgres >= 9.2.  I believe there is a more elegant way to handle
> these cases going forward than the option used in the mainstream
> project of abstract/concrete classes for each JDBC version. I think
> JDBC differences should be handled with the maven pre-processor plugin
> to conditionally compile for each JDBC. Server differences can still
> use special case code and/or polymorphic classes to address the
> problem/feature at hand.

speaking as a user and system administrator, I would NOT want to need to
use different JAR files for each {jvm,postgres} version. that would be a
nightmare.

we have a LOT of systems in our manufacturing operations that are
running older versions of {os, postgres, jvm} for various reasons, not
the least of which is upgrades often break things in very non-obvious ways.

--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: Kevin Wooten
Дата:
Сообщение: Re: JDBC 4 Compliance
Следующее
От: David Johnston
Дата:
Сообщение: Re: JDBC 4 Compliance