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

From javadesigner
Subject getTypeMap() returns null - bug?
Date
Msg-id af26d6b5-6f61-7e21-4972-2c719357bef6@yahoo.com
Whole thread Raw
Responses Re: getTypeMap() returns null - bug?
Re: getTypeMap() returns null - bug?
List pgsql-jdbc
Hi all:

I'm playing around with customized Type Mappings and have the following 
snipped of code:

====
Connection con = getConnection();  /*get connection from driver - util 
method*/
System.out.println("GOT CONNECTION:" + con);
java.util.Map map = con.getTypeMap();
System.out.println("map:"+map);
====

When I run this I get:

GOT CONNECTION:org.postgresql.jdbc.PgConnection@3f8f9dd6
map:null

getTypeMap should return a map but it returns null !

I don't see any pending issues/bug on the mailing list archives.

I'm using the following (up-to-date) setup:

postgres 11.7
driver: postgresql-42.2.12.jar
java: 1.8.x

Best,
-J



pgsql-jdbc by date:

Previous
From: Sehrope Sarkuni
Date:
Subject: [pgjdbc/pgjdbc] 4ddbcb: fix: Update checkstyle command in PR templateto r...
Next
From: rob stone
Date:
Subject: Re: getTypeMap() returns null - bug?