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