Skip site navigation (1) Skip section navigation (2)

Re: JDBC Driver can't read UUID from database

From: Kris Jurka <books(at)ejurka(dot)com>
To: Dean Schulze <dschulze(at)knowledgefactor(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: JDBC Driver can't read UUID from database
Date: 2012-06-11 21:28:07
Message-ID: alpine.BSO.2.00.1206111726250.17050@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-bugs

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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2012-06-11 22:27:44
Subject: Re: BUG #6687: initdb -A ident can almost never be correct
Previous:From: Dave PageDate: 2012-06-11 18:57:13
Subject: Re: BUG #6688: can't install from binary.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group