Re: Two dimensional arrays in 7.2 JDBC driver - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Two dimensional arrays in 7.2 JDBC driver
Date
Msg-id 00a101c17c34$1497a270$8201a8c0@inspiron
Whole thread Raw
In response to Two dimensional arrays in 7.2 JDBC driver  ("Van Auken, Douglas" <DVanAuken@coral-energy.com>)
List pgsql-jdbc
Douglas,

I have read the code and now understand what is going on. The driver
currently only supports single dimension arrays of known types (ie SQL
types). When the driver stores it, it just does a toString on the array
and stores the resulting string. This part probably works ok. The
challenge is in retrieving it. It sees the object as an array of objects
(Arrays).

Can you help me understand how you are using this? Generally an array of
arrays would constitute another table?

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Van Auken, Douglas
Sent: Thursday, November 29, 2001 7:16 PM
To: 'pgsql-jdbc@postgresql.org'
Subject: [JDBC] Two dimensional arrays in 7.2 JDBC driver


Just tried out the Array functionality in the 7.2 JDBC driver.  It seams
like 1 dimensional arrays work, but not two dimmensional arrays.  I get
"This method is not yet implemented" returned to me in an exception
block.

Are there any plans to implement two-dimensional arrays?

Thanks.

Doug Van Auken


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: Exception?
Next
From: Jens Carlberg
Date:
Subject: Re: JDBC/JSP: Strange Problem