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

From Mark Rotteveel
Subject Re: getTypeMap() returns null - bug?
Date
Msg-id 173adf8d27618dd74a9b417b0d7e45a0@lawinegevaar.nl
Whole thread Raw
In response to Re: getTypeMap() returns null - bug?  (rob stone <floriparob@gmail.com>)
List 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 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?