Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
Дата
Msg-id alpine.BSO.2.00.1007231403450.25795@leary.csoft.net
обсуждение исходный текст
Ответ на PostgreSQL JDBC vs jxDBCon as a model for other language implementations  (Tim Bunce <Tim.Bunce@pobox.com>)
Ответы Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
Список pgsql-jdbc

On Thu, 22 Jul 2010, Tim Bunce wrote:

> The PostgreSQL JDBC drivers seems to have a good Abstract* class
> hierarchy, which is what I'm looking for. There does seem to be
> some PostgreSQL-specific logic in those abstract classes though,
> like appendArray in AbstractJdbc4Connection.

The AbstractJdbc classes are not designed with the intention of being
usable by other database driver implementations and are very postgresql
specific.  They are instead designed to be able to share code across the
various JDBC driver versions that can be compiled.  When you build the
driver you get a version that matches the JDBC spec of your JDK.  So over
the course of history we've offered JDBC 1 -> JDBC 4 spec drivers and
that's what the AbstractJdbc classes facilitate.

Kris Jurka

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [HACKERS] Trouble with COPY IN
Следующее
От: Radosław Smogura
Дата:
Сообщение: Re: Binary protocol support for JDBC