pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Dean Schulze <dschulze@knowledgefactor.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: JDBC Driver can't read UUID from database
Date: Mon, 11 Jun 2012 17:28:07 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1206111726250.17050@leary.csoft.net> (raw)
In-Reply-To: <285378F79EC333408F3AAE73259CCD40626D6C@mbx024-w1-ca-5.exch024.domain.local>
References: <285378F79EC333408F3AAE73259CCD40626D6C@mbx024-w1-ca-5.exch024.domain.local>



On Mon, 11 Jun 2012, Dean Schulze wrote:

> Out of curiosity why didn't the driver map the Postgresql UUID to a Java
> UUID?
> 

The example I gave of calling getString must return a String and not 
another type.  With a recent JDBC Driver and Java version, calling 
getObject will return a UUID object.

Kris Jurka



view thread (4+ messages)

Message-ID: <alpine.BSO.2.00.1206111726250.17050@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1206111726250.17050@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1206111726250.17050@leary.csoft.net

 · 

reply

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-bugs@postgresql.org
  Cc: books@ejurka.com, dschulze@knowledgefactor.com
  Subject: Re: JDBC Driver can't read UUID from database
  In-Reply-To: <alpine.BSO.2.00.1206111726250.17050@leary.csoft.net>
  References: <285378F79EC333408F3AAE73259CCD40626D6C@mbx024-w1-ca-5.exch024.domain.local> <alpine.BSO.2.00.1206111726250.17050@leary.csoft.net>

* 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