Question on stored proecdure parameter - Mailing list pgsql-novice

From Venkateswaran Udayasankar
Subject Question on stored proecdure parameter
Date
Msg-id Pine.GSO.4.58.0411091048580.1672@caesar.cs.umn.edu
Whole thread Raw
List pgsql-novice
Hello,

I need to pass two arrays (name, values) from Java to my stored procedure
or rather function in postgres. How do I go about doing this? Any help on
this will be appreciated. I have read about passing stuff in as comma
separated text fields and parsing them in the procedure to form the query.
I would rather not do it this way. On a realted note how do I construct a
java.sql.Array in Java to pass it in as a parameter to my Callable
Statement execute method() ? I know Oracle drivers provide for
ArrayDescriptors that can be used to pass in an array as a parameter.

Thanks in advance for the help.
-Venkat.

pgsql-novice by date:

Previous
From: Betsy Barker
Date:
Subject: Re: problem with sequence PostgreSQL 7.3.4
Next
From: Akbar
Date:
Subject: cleaning up template1