Re: [Pgjdbc-commit] By jurka: Add some more synchronization to the

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: [Pgjdbc-commit] By jurka: Add some more synchronization to the
Дата
Msg-id 44716F52.8080202@logix-tt.com
обсуждение исходный текст
Ответы Re: [Pgjdbc-commit] By jurka: Add some more synchronization  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Hi, Till,

CVS User Account wrote:
> Make _pgNameToSQLType static.

>      // pgname (String) -> java.sql.Types (Integer)
> -    private Map _pgNameToSQLType;
> +    private static final Map _pgNameToSQLType;

Are you shure this should be static, and not per connection?

AFAICS, it is possible to have two connections to different databases
having different extension types installed, leading to conflicting maps.

Thanks,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: how to handle data containing '\0'
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: [Pgjdbc-commit] By jurka: Add some more synchronization