pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Laura Wang <tikabr@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: multidimensinal array
Date: Mon, 18 Sep 2006 11:54:02 +0200
Message-ID: <450E6CBA.5030804@logix-tt.com> (raw)
In-Reply-To: <BAY115-F3574A589D793456582F2D0C82D0@phx.gbl>
References: <BAY115-F3574A589D793456582F2D0C82D0@phx.gbl>

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



view thread (2+ messages)

Message-ID: <450E6CBA.5030804@logix-tt.com>
Permalink:  ../450E6CBA.5030804@logix-tt.com/
Also on:    postgresql.org/message-id/450E6CBA.5030804@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: schabi@logix-tt.com, tikabr@hotmail.com
  Subject: Re: multidimensinal array
  In-Reply-To: <450E6CBA.5030804@logix-tt.com>
  References: <BAY115-F3574A589D793456582F2D0C82D0@phx.gbl> <450E6CBA.5030804@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox