pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Tim Bunce <Tim.Bunce@pobox.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
Date: Fri, 23 Jul 2010 14:08:33 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1007231403450.25795@leary.csoft.net> (raw)
In-Reply-To: <20100722085402.GB80399@timac.local>
References: <20100722085402.GB80399@timac.local>



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



view thread (4+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1007231403450.25795@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1007231403450.25795@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1007231403450.25795@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, Tim.Bunce@pobox.com
  Subject: Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
  In-Reply-To: <alpine.BSO.2.00.1007231403450.25795@leary.csoft.net>
  References: <20100722085402.GB80399@timac.local> <alpine.BSO.2.00.1007231403450.25795@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox