Re: getTypeMap() returns null - bug?

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: rob stone <floriparob(at)gmail(dot)com>, javadesigner <javadesigner(at)yahoo(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getTypeMap() returns null - bug?
Date: 2020-05-11 14:05:33
Message-ID: CADK3HH+XdAA8AFCczsc+XL_3vdJu54iw+aogEu5rXMb3Krk5xg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

> On Monday, May 11, 2020, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David G. Johnston 2020-05-11 14:14:13 Re: getTypeMap() returns null - bug?
Previous Message David G. Johnston 2020-05-11 14:04:26 Re: getTypeMap() returns null - bug?