Re: UUID datatype

From: ntr <kfeezh(at)gmail(dot)com>
To: "Kris Jurka" <books(at)ejurka(dot)com>
Cc: Andrew <archa(at)pacific(dot)net(dot)au>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: UUID datatype
Date: 2008-02-16 16:06:56
Message-ID: 6e6cc3bc0802160806o6e686b15jbea6cc3e7b36ccbd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

java.util.UUID and UUID in PG they are different things.
it's better to map THAT to a PGuuid class!

On Sat, Feb 16, 2008 at 11:52 PM, Kris Jurka <books(at)ejurka(dot)com> wrote:

>
>
> On Sun, 17 Feb 2008, Andrew wrote:
>
> > I'm wondering about the timeline or plans if any for JDBC driver support
> of
> > the recently added UUID datatype in PostgreSQL?
>
> There aren't any exact plans, but I was thinking we would map the pg uuid
> type onto the java.util.UUID type. The only problem with that
> is java.util.UUID only appeared in the 1.5 JDK, so we'd only be
> able to support it for some driver versions. Do people think it's better
> to always map it to a PGuuid class?
>
> Kris Jurka
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2008-02-16 16:08:22 Re: UUID datatype
Previous Message Kris Jurka 2008-02-16 15:57:38 Re: extra rowcopy in ResultSet allways needed ?.