Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6815119F3D0 for ; Mon, 11 Jun 2012 18:28:25 -0300 (ADT) Received: from mail63.csoft.net ([205.205.214.4]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SeC9u-00068B-A5 for pgsql-bugs@postgresql.org; Mon, 11 Jun 2012 21:28:24 +0000 Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id C3A3828417; Mon, 11 Jun 2012 17:28:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=CQ3RzkjoTn77uTuYYBcYHItulSM=; b=Xy4rDQ oKuu6sZrNyFoFU9BmPQMnc6P3Y7aexFFLt5yRzYVifm5R1/URWqXQZZVJUdxVebR vDuvCdgJRrXeOuNHohCJtCx0uAiJI3cIp4Gvw7iOSY0PIiQE51ZqO7lvLx0QwV8o n/SGRHy+IboW6MkCrbmB/4tWkg6hLB8yqYP30= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 95A3628404; Mon, 11 Jun 2012 17:28:07 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 7B774A1D9; Mon, 11 Jun 2012 17:28:07 -0400 (EDT) Date: Mon, 11 Jun 2012 17:28:07 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Dean Schulze cc: "pgsql-bugs@postgresql.org" Subject: Re: JDBC Driver can't read UUID from database In-Reply-To: <285378F79EC333408F3AAE73259CCD40626D6C@mbx024-w1-ca-5.exch024.domain.local> Message-ID: References: <285378F79EC333408F3AAE73259CCD40626D6C@mbx024-w1-ca-5.exch024.domain.local> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/110 X-Sequence-Number: 33337 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