getTypeMap() returns null - bug?

From: javadesigner <javadesigner(at)yahoo(dot)com>
To: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: getTypeMap() returns null - bug?
Date: 2020-05-11 05:03:39
Message-ID: af26d6b5-6f61-7e21-4972-2c719357bef6@yahoo.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(dot)postgresql(dot)jdbc(dot)PgConnection(at)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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message rob stone 2020-05-11 06:20:48 Re: getTypeMap() returns null - bug?
Previous Message Sehrope Sarkuni 2020-05-10 11:21:23 [pgjdbc/pgjdbc] 4ddbcb: fix: Update checkstyle command in PR template to r...