Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8FFC5632A0D for ; Tue, 27 Jul 2010 08:57:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 90691-03 for ; Tue, 27 Jul 2010 11:56:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sasl.smtp.pobox.com (a-pb-sasl-quonix.pobox.com [208.72.237.25]) by mail.postgresql.org (Postfix) with ESMTP id D02EF632836 for ; Tue, 27 Jul 2010 08:57:00 -0300 (ADT) Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 69103C8B37; Tue, 27 Jul 2010 07:56:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=kb2PrZdhCgOMGpDRqPBNPteLsuY=; b=jNVQvY/ ir7Jh43vtE/Y+GA5toLlvOa5sKNyu52nKJ1378COWWJaP1v5RFcz5ZE7Y5BVNMcG aPva/V2cZmd0deZ95Dty3PWsMnGGj3/5lenwkc/WxS14Xujz854xM7z5VpxGOSA5 vWiM7DLkO9uByQDnWOzb+n+LpU9riQLWDdtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=acG83NecGKa7Gf8Mnqw6zjz1itXGjiW72 gJXng53lqq4dLNXmYffaB8X+iTeg4XcehKm7zNvWC4aGSMrlSnnfzO0asgJIdoOk gL7wpW8mw0r9a+LrGevTmtFNIAmgnCnmMX2dSHzveJrHRQLe5gFkuNnRQuE+n7S4 nyj20hCIYY= Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 42A79C8B36; Tue, 27 Jul 2010 07:56:56 -0400 (EDT) Received: from timac.local (unknown [86.47.232.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id ED721C8B33; Tue, 27 Jul 2010 07:56:52 -0400 (EDT) Date: Tue, 27 Jul 2010 12:56:37 +0100 From: Tim Bunce To: Kris Jurka Cc: Tim Bunce , pgsql-jdbc@postgresql.org Subject: Re: PostgreSQL JDBC vs jxDBCon as a model for other language implementations Message-ID: <20100727115637.GV2790@timac.local> References: <20100722085402.GB80399@timac.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pobox-Relay-ID: 0DDB2CA4-9976-11DF-90F1-9056EE7EF46B-13888548!a-pb-sasl-quonix.pobox.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/104 X-Sequence-Number: 20769 On Fri, Jul 23, 2010 at 02:08:33PM -0400, Kris Jurka wrote: > 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. Thanks for that helpful background Kris. Given that design it seems that jxDBCon might be a better model for my needs. I'm trying to contact the authors to get some information on the history and status of the project. (It seems to have been abandoned some years ago.) Meanwhile, I'd be delighted if anyone could suggest any other JDBC driver development framework I could learn from. Or, else any other open source JDBC driver with a good internal architecture. Thanks! Tim.