Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFVSb-0004iA-Dh for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Mar 2013 20:06:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UFVSa-0004EJ-IZ for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Mar 2013 20:06:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFVSZ-0004DX-Ez for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 20:06:07 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UFVSW-00089A-DM for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 20:06:07 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UFVSp-0007Xv-Kn for pgsql-jdbc@postgresql.org; Tue, 12 Mar 2013 21:06:23 +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 21:06:23 +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 21:06:23 +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 21:06:05 +0100 Lines: 23 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 19:29: > I don't expect it to work with SQL workbench but after looking at > this, it cannot find the property for "username", "password" or > "database". > > "database" is properly gleaned from the URL. "username" and > "password" can be provided as extra properties or as URL query > parameters. > > What URL are you using to connect and what properties are being > provided? > Exactly the same credentials as with the "real" Postgres driver. The URL is: jdbc:postgresql://localhost/wbtest And I am using Driver.connect(String, Properties) The Properties instance contains essentially the keys "user" and "password" (as per JDBC specs). 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