Re: getTypeMap() returns null - bug?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: getTypeMap() returns null - bug?
Дата
Msg-id CADK3HH+XdAA8AFCczsc+XL_3vdJu54iw+aogEu5rXMb3Krk5xg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: getTypeMap() returns null - bug?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: getTypeMap() returns null - bug?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-jdbc


On Mon, 11 May 2020 at 10:04, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Monday, May 11, 2020, David G. Johnston <david.g.johnston@gmail.com> wrote:

Yes, it is a bug. It should return an empty typemap


Given the code in getObject and lack of use anywhere else I’d say it should return the unsupported exception.  Not reason to delay the error until later.

Actually...I’ll srick with my original thought that making it an exception now is not desirable as it could break working code (though not likely...) for no real gain.

David J. 

Using it will throw an exception later in getObject() 
Dave Cramer
www.postgres.rocks 

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

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