Re: getTypeMap() returns null - bug?

Поиск
Список
Период
Сортировка
От Mark Rotteveel
Тема Re: getTypeMap() returns null - bug?
Дата
Msg-id 173adf8d27618dd74a9b417b0d7e45a0@lawinegevaar.nl
обсуждение исходный текст
Ответ на Re: getTypeMap() returns null - bug?  (rob stone <floriparob@gmail.com>)
Список pgsql-jdbc
On 2020-05-11 08:20, rob stone wrote:
> Note this paragraph:- "Retrieves the Map object associated with this
> Connection object. Unless the application has added an entry, the type
> map returned will be empty." I.e., null.

No, empty does not mean null, it means returning an empty map (eg 
Collections.emptyMap()) or an empty instance of a Map implementation). 
If the PostgreSQL JDBC driver doesn't support type maps, then it should 
throw a SQLFeatureNotSupportedException instead.

Mark



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: getTypeMap() returns null - bug?
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: getTypeMap() returns null - bug?