From: Tim Bunce <Tim.Bunce@pobox.com>
To: pgsql-jdbc@postgresql.org
Cc: Tim Bunce <Tim.Bunce@pobox.com>
Subject: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
Date: Thu, 22 Jul 2010 01:54:02 -0700
Message-ID: <20100722085402.GB80399@timac.local> (raw)
Hi.
I'm building an API for database access for a non-Java language.
I'm modeling the API very closely on JDBC.
I want to make it as easy as possible for other developers to implement
drivers for different database systems.
I came across the jxDBCon project (http://jxdbcon.sourceforge.net/)
which seems to be a good model:
"jxDBCon a framework to ease the development JDBC drivers. By using it
you can concentrate on the tasks specific to your DBMS and benefit from
the generic solutions provided by jxDBCon. jxDBCon also contains a
featureful driver implementation for PostgreSQL"
They also say:
"Actually the framework was created for the PostgreSQL driver, as I
was disappointed with the compatibility of the existing driver which
ships with the database distribution"
The last commit to jxDBCon was almost 5 years ago, whereas the
PostgreSQL JDBC seems well maintained.
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.
I'm wondering how the jxDBCon and PostgreSQL JDBC drivers compare.
I'd appreciate it if someone could give me some background information
about their history and the relationship between the two drivers.
Is the PostgreSQL JDBC driver class hierarchy, and implementations of the
abstract classes, a good foundation to build a framework to ease the
development JDBC drivers for multiple databases?
Tim.
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: Tim.Bunce@pobox.com
Subject: Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations
In-Reply-To: <20100722085402.GB80399@timac.local>
References: <20100722085402.GB80399@timac.local>
* 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