Re: getTypeMap() returns null - bug?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Dave Cramer <davecramer(at)postgres(dot)rocks>
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:04:26
Message-ID: CAKFQuwapCCE8S3pm7ZY5Y4BtrDzV=NAjgcGSoyozy2kG2Dcicw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2020-05-11 14:05:33 Re: getTypeMap() returns null - bug?
Previous Message David G. Johnston 2020-05-11 14:00:39 Re: getTypeMap() returns null - bug?