From: rob stone <floriparob@gmail.com>
To: javadesigner <javadesigner@yahoo.com>
To: List <pgsql-jdbc@postgresql.org>
Subject: Re: getTypeMap() returns null - bug?
Date: Mon, 11 May 2020 16:20:48 +1000
Message-ID: <e6a8e0de373300df2d42211a1fc1d94b7693ad02.camel@gmail.com> (raw)
In-Reply-To: <af26d6b5-6f61-7e21-4972-2c719357bef6@yahoo.com>
References: <af26d6b5-6f61-7e21-4972-2c719357bef6.ref@yahoo.com>
<af26d6b5-6f61-7e21-4972-2c719357bef6@yahoo.com>
Hi,
On Mon, 2020-05-11 at 01:03 -0400, javadesigner wrote:
> 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
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: floriparob@gmail.com, javadesigner@yahoo.com
Subject: Re: getTypeMap() returns null - bug?
In-Reply-To: <e6a8e0de373300df2d42211a1fc1d94b7693ad02.camel@gmail.com>
References: <af26d6b5-6f61-7e21-4972-2c719357bef6.ref@yahoo.com> <af26d6b5-6f61-7e21-4972-2c719357bef6@yahoo.com> <e6a8e0de373300df2d42211a1fc1d94b7693ad02.camel@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox