Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFTAQ-0002K9-L8 for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Mar 2013 17:39:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UFTAQ-0002iC-4W for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Mar 2013 17:39:14 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFTAP-0002i1-Hb for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 17:39:13 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFTAN-0003fF-5Q for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 17:39:13 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UFTAe-0006p2-9u for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 18:39:28 +0100 Received: from ppp-82-135-87-48.dynamic.mnet-online.de ([82.135.87.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Mar 2013 18:39:28 +0100 Received: from spam_eater by ppp-82-135-87-48.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Mar 2013 18:39:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: A new JDBC driver... Date: Tue, 12 Mar 2013 18:39:02 +0100 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-82-135-87-48.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Pg-Spam-Score: -4.5 (----) 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… 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. > 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 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc