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

From: Kris Jurka <books(at)ejurka(dot)com>
To: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
Date: 2010-07-23 18:08:33
Message-ID: alpine.BSO.2.00.1007231403450.25795@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Radosław Smogura 2010-07-24 15:21:00 Re: Binary protocol support for JDBC
Previous Message Kris Jurka 2010-07-23 15:35:53 Re: [HACKERS] Trouble with COPY IN