pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: A new JDBC driver...
Date: Tue, 12 Mar 2013 12:34:40 -0600
Message-ID: <513F7540.7080407@ttc-cmc.net> (raw)
In-Reply-To: <khnp7d$ca5$1@ger.gmane.org>
References: <C456E460-078E-4562-8921-39000ED4D71A@me.com>
	<khnp7d$ca5$1@ger.gmane.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Kevin Wooten wrote on 12.03.2013 02:19:
>> So… I did a crazy thing… I created an entirely new JDBC driver.
>>
>> (For those who care there's an actual question at the bottom… this
>> isn't just bragging)
>>
>> I'd love it if some folks in the know could take a look at my code
>> and see if it stirs up any ideas on integration or just makes you
>> want to jump off a bridge.
>>
Thomas Kellerer wrote:
>
> It does sound very nice, thanks very much for the effort!
>
> I didn't look at the code, but one thing I noticed when trying the
> driver is that it requires a bunch of other libraries which is highly
> unusual in the JDBC "world". Usually the JDBC driver jar is self contained.
>
> When I tried it with my SQL tool (SQL Workbench/J) I got the following
> exception when connecting:
>
>
> java.lang.NullPointerException
> at
> com.impossibl.postgres.protocol.v30.ProtocolImpl.sendStartup(ProtocolImpl.java:168)
>
> at
> com.impossibl.postgres.protocol.v30.StartupCommandImpl.execute(StartupCommandImpl.java:107)
>
> at
> com.impossibl.postgres.protocol.v30.ProtocolImpl.execute(ProtocolImpl.java:139)
>
> at com.impossibl.postgres.system.BasicContext.start(BasicContext.java:151)
> at com.impossibl.postgres.system.BasicContext.init(BasicContext.java:110)
> at com.impossibl.postgres.jdbc.PSQLDriver.connect(PSQLDriver.java:56)
> at com.impossibl.postgres.jdbc.PSQLDriver.connect(PSQLDriver.java:22)
>
> Regards
> Thomas

Recently I integrated an additional Database, Apache Derby, into my database
access tool. Derby required three different jars to be used for JDBC support.
I really don't like having to pile lots of libraries into my application in
order to get it to work.

If the trial that Thomas performed and my own looking at the code seems to
indicate the code is incomplete and non-functional. Perhaps it could become
a replacement for the current JDBC, but that may not be for some time.
PostgreSQL is becoming mainstream and I would like to see additional
support to keep the pgJDBC up to date, but branching seems unproductive to
keeping a stable Driver in place. Integration seems more appropriate.

danap.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (31+ messages)  latest in thread

Message-ID: <513F7540.7080407@ttc-cmc.net>
Permalink:  ../513F7540.7080407@ttc-cmc.net/
Also on:    postgresql.org/message-id/513F7540.7080407@ttc-cmc.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: danap@ttc-cmc.net
  Subject: Re: A new JDBC driver...
  In-Reply-To: <513F7540.7080407@ttc-cmc.net>
  References: <C456E460-078E-4562-8921-39000ED4D71A@me.com> <khnp7d$ca5$1@ger.gmane.org> <513F7540.7080407@ttc-cmc.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