Skip site navigation (1) Skip section navigation (2)

Re: multidimensinal array

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Laura Wang <tikabr(at)hotmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: multidimensinal array
Date: 2006-09-18 09:54:02
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
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.

Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe!

In response to

pgsql-jdbc by date

Next:From: Sriram DandapaniDate: 2006-09-18 16:02:59
Subject: Re: idle in transaction
Previous:From: João Paulo RibeiroDate: 2006-09-18 09:15:07
Subject: Re: idle in transaction

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group