Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values

From: dmp <danap(at)ttc-cmc(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org, Dave Cramer <pg(at)fastcrypt(dot)com>
Subject: Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Date: 2013-01-29 16:54:10
Message-ID: 5107FEB2.6040405@ttc-cmc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave,

The inclusion of:

if (!url.startsWith("jdbc:postgresql:")) {
return null;
}

in the patch yesterday does not appear to have
been necessary because it looks to be checked
in parseURL().

danap.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2013-01-29 16:56:07 Re: JDBC connection test with SSL on PG 9.2.1 server
Previous Message Chen Huajun 2013-01-29 05:43:18 Re: [BUGS]log can not be output when use DataSource