From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: A new JDBC driver...
Date: Tue, 12 Mar 2013 21:06:05 +0100
Message-ID: <kho1qt$74e$1@ger.gmane.org> (raw)
In-Reply-To: <A5EDD889-1E34-416D-9EBA-053E6877E297@me.com>
References: <C456E460-078E-4562-8921-39000ED4D71A@me.com>
<khnp7d$ca5$1@ger.gmane.org>
<A5EDD889-1E34-416D-9EBA-053E6877E297@me.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
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
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: spam_eater@gmx.net
Subject: Re: A new JDBC driver...
In-Reply-To: <kho1qt$74e$1@ger.gmane.org>
References: <C456E460-078E-4562-8921-39000ED4D71A@me.com> <khnp7d$ca5$1@ger.gmane.org> <A5EDD889-1E34-416D-9EBA-053E6877E297@me.com> <kho1qt$74e$1@ger.gmane.org>
* 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