pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
multidimensinal array
2+ messages / 2 participants
[nested] [flat]

* multidimensinal array
@ 2006-09-18 00:42  Laura Wang <tikabr@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Laura Wang @ 2006-09-18 00:42 UTC (permalink / raw)
  To: pgsql-jdbc

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,
Laura





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: multidimensinal array
@ 2006-09-18 09:54  Markus Schaber <schabi@logix-tt.com>
  parent: Laura Wang <tikabr@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Markus Schaber @ 2006-09-18 09:54 UTC (permalink / raw)
  To: Laura Wang <tikabr@hotmail.com>; +Cc: 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.

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-09-18 09:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-09-18 00:42 multidimensinal array Laura Wang <tikabr@hotmail.com>
2006-09-18 09:54 ` Markus Schaber <schabi@logix-tt.com>

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