Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 74D932E0030 for ; Sat, 16 Feb 2008 09:39:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95347-02 for ; Sat, 16 Feb 2008 09:39:12 -0400 (AST) Received: from mailout1.pacific.net.au (mailout1-3.pacific.net.au [61.8.2.210]) by postgresql.org (Postfix) with ESMTP id 216B72E002F for ; Sat, 16 Feb 2008 09:39:11 -0400 (AST) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id B6FE0351DF4 for ; Sun, 17 Feb 2008 00:39:07 +1100 (EST) Received: from [192.168.0.10] (ppp3645.dsl.pacific.net.au [203.143.215.69]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 84B4127407 for ; Sun, 17 Feb 2008 00:39:07 +1100 (EST) Message-ID: <47B6E776.9030608@pacific.net.au> Date: Sun, 17 Feb 2008 00:39:02 +1100 From: Andrew User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: UUID datatype Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/97 X-Sequence-Number: 18304 Hi, I'm currently running: PostgreSQL v8.3 JDBC4 v8.3-603 I'm wondering about the timeline or plans if any for JDBC driver support of the recently added UUID datatype in PostgreSQL? I haven't been able to check the JDBC v4 spec as the Sun server hosting it was not available at the time I last checked, but I doubt that it is part of the specification, as it is not in the JDBC v3 spec and it is not mentioned in the differences between the two, so I assume any such support would be as a custom datatype similar to the PGcircle datatype. Additionally, I was not able to find anything in the JDBC driver documentation regarding UUID support or in the driver API, and all that I have been able to find on the Internet is work arounds, such as custom methods on the DB end to convert string UUID representations into UUID datatypes, as there is no implicit conversion by the DB. As an increasing number of DB's support UUID's, or in the case of Microsoft, their GUID, I thought I would pose the question. I searched the mail archives and couldn't find anything matching, so hopefully this is not a repeated question, as I have just arrived on this list. Thanks, Andy