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

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Дата
Msg-id 1359406432.56292.YahooMailNeo@web162904.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Список pgsql-jdbc
Dave Cramer <pg@fastcrypt.com> wrote:

> My proposed patch is this
>
>
> if (url.startsWith("jdbc:postgresql:")) {
>     return null;
> }
>
> Right at the top of getConnection, before we do any real work.
>
>
> Thoughts ?

Shouldn't that have a bang to reverse the logic?

-Kevin


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Nathaniel Waisbrot
Дата:
Сообщение: Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values