Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFU2U-0006En-D2 for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Mar 2013 18:35:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UFU2T-0008GI-Sc for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Mar 2013 18:35:05 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFU2T-0008Ef-9M for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 18:35:05 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFU2Q-0004X8-RB for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 18:35:04 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id 26AAA5A4F for ; Tue, 12 Mar 2013 12:35:03 -0600 (MDT) Message-ID: <513F7540.7080407@ttc-cmc.net> Date: Tue, 12 Mar 2013 12:34:40 -0600 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: PostgreSQL JDBC Subject: Re: A new JDBC driver... References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Kevin Wooten wrote on 12.03.2013 02:19: >> So=85 I did a crazy thing=85 I created an entirely new JDBC driver. >> >> (For those who care there's an actual question at the bottom=85 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 containe= d. > > 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(StartupCom= mandImpl.java:107) > > at > com.impossibl.postgres.protocol.v30.ProtocolImpl.execute(ProtocolImpl.jav= a: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 suppor= t. 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. --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc