Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D22122E002F for ; Sat, 16 Feb 2008 12:07:04 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 08980-02 for ; Sat, 16 Feb 2008 12:06:58 -0400 (AST) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.235]) by postgresql.org (Postfix) with ESMTP id 302A42E0031 for ; Sat, 16 Feb 2008 12:06:58 -0400 (AST) Received: by hu-out-0506.google.com with SMTP id 22so380480hug.23 for ; Sat, 16 Feb 2008 08:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=jCJT9ESR4Lmjhx+caW6XO7wNba9UuRBL1CO2u8J5Tbw=; b=MNuxsPO6vKbR9Y4e0bIgV/caFUfHVEndOmaCeSGesEZFC7FAPTEuvr82t770Q+OfdwNuN3hDdQ0+4uwHqPWHyQST81Qq2xWFZf83TTgpj30VnyjEG18NZGHIAa2rMl6b/ecQ+Z5aGZRzbrop1o492KD32HmBvEd07xCA79S6suk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=UjJGA6KyUm8rf6TOjkizTKq8QkMO2qe/oZH5gYp2Uk6DjhKWhSYcGQsagM4rK7noRGXYc+Gm0ycCqIMVQ7N/gXpOB8n3TqUKTFtEuI7t2FZKfmV6uJNg87odZsFnLCWWpelgEq8kiPUfc02CS3zQg6LrgHbn88pHXzAV17FC7Yg= Received: by 10.82.168.2 with SMTP id q2mr5929381bue.25.1203178016629; Sat, 16 Feb 2008 08:06:56 -0800 (PST) Received: by 10.86.33.8 with HTTP; Sat, 16 Feb 2008 08:06:56 -0800 (PST) Message-ID: <6e6cc3bc0802160806o6e686b15jbea6cc3e7b36ccbd@mail.gmail.com> Date: Sun, 17 Feb 2008 00:06:56 +0800 From: ntr To: "Kris Jurka" Subject: Re: UUID datatype Cc: Andrew , pgsql-jdbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17455_28767738.1203178016616" References: <47B6E776.9030608@pacific.net.au> X-Google-Sender-Auth: b039dffa7727bb14 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/102 X-Sequence-Number: 18309 ------=_Part_17455_28767738.1203178016616 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 > ------=_Part_17455_28767738.1203178016616 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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@ejurka.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

------=_Part_17455_28767738.1203178016616--