Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
Date
Msg-id alpine.BSO.2.00.1007231403450.25795@leary.csoft.net
Whole thread Raw
In response to PostgreSQL JDBC vs jxDBCon as a model for other language implementations  (Tim Bunce <Tim.Bunce@pobox.com>)
Responses Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations  (Tim Bunce <Tim.Bunce@pobox.com>)
List 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 by date:

Previous
From: Kris Jurka
Date:
Subject: Re: [HACKERS] Trouble with COPY IN
Next
From: Radosław Smogura
Date:
Subject: Re: Binary protocol support for JDBC