Question on stored proecdure parameter

Поиск
Список
Период
Сортировка
От Venkateswaran Udayasankar
Тема Question on stored proecdure parameter
Дата
Msg-id Pine.GSO.4.58.0411091048580.1672@caesar.cs.umn.edu
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Betsy Barker
Дата:
Сообщение: Re: problem with sequence PostgreSQL 7.3.4
Следующее
От: Akbar
Дата:
Сообщение: cleaning up template1