getTypeMap() returns null - bug?

Поиск
Список
Период
Сортировка
От javadesigner
Тема getTypeMap() returns null - bug?
Дата
Msg-id af26d6b5-6f61-7e21-4972-2c719357bef6@yahoo.com
обсуждение исходный текст
Ответы Re: getTypeMap() returns null - bug?  (rob stone <floriparob@gmail.com>)
Re: getTypeMap() returns null - bug?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Sehrope Sarkuni
Дата:
Сообщение: [pgjdbc/pgjdbc] 4ddbcb: fix: Update checkstyle command in PR templateto r...
Следующее
От: rob stone
Дата:
Сообщение: Re: getTypeMap() returns null - bug?