Re: getTypeMap() returns null - bug? - Mailing list pgsql-jdbc

From David G. Johnston
Subject Re: getTypeMap() returns null - bug?
Date
Msg-id CAKFQuwapCCE8S3pm7ZY5Y4BtrDzV=NAjgcGSoyozy2kG2Dcicw@mail.gmail.com
Whole thread Raw
In response to Re: getTypeMap() returns null - bug?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: getTypeMap() returns null - bug?  (Dave Cramer <davecramer@postgres.rocks>)
List pgsql-jdbc
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. 

pgsql-jdbc by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: getTypeMap() returns null - bug?
Next
From: Dave Cramer
Date:
Subject: Re: getTypeMap() returns null - bug?