X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 6CEC29FA0ED for ; Mon, 18 Sep 2006 06:54:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 83005-03 for ; Mon, 18 Sep 2006 09:54:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id BA3F09FA089 for ; Mon, 18 Sep 2006 06:54:07 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (84-72-188-217.dclient.hispeed.ch [84.72.188.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id C6FC565985; Mon, 18 Sep 2006 11:56:24 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id C2CE7181C1C09; Mon, 18 Sep 2006 11:54:02 +0200 (CEST) Message-ID: <450E6CBA.5030804@logix-tt.com> Date: Mon, 18 Sep 2006 11:54:02 +0200 From: Markus Schaber Reply-To: "pgsql-jdbc@postgresql.org" Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.5 (X11/20060812) MIME-Version: 1.0 To: Laura Wang Cc: pgsql-jdbc@postgresql.org Subject: Re: multidimensinal array References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/67 X-Sequence-Number: 15785 Hi, Laura, Laura Wang wrote: > I'm implementing a java application that needs to query some 2D arrays > stored in a table. The 2D arrays can be of different lengths for > different records, but there're no null values. I tried using the > getArray method provided by the ResultSet class, but I got a message > saying that multidimensional array is not supported. If that's the case, > does the current jdbc driver provide any other way to handle the > multidimensional arrays? > Any pointers with regard to this issue will be greatly appreciated. Thanks, As a workaround, you could fetch the text representation as string, and parse it yourself. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in Europe! www.ffii.org www.nosoftwarepatents.org