Re: Using User Defined Type in JDBC code

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Using User Defined Type in JDBC code
Дата
Msg-id Pine.BSO.4.56.0403261621530.3597@leary.csoft.net
обсуждение исходный текст
Ответ на Using User Defined Type in JDBC code  (Gunjeet Singh <Gunjeet.Singh@eng.sun.com>)
Список pgsql-jdbc

On Thu, 25 Mar 2004, Gunjeet Singh wrote:
> Hi,
>
> Can somone tell me how I can call a pl/pgsql stored function
> that returns a user-defined type from the JDBC code ?
>
> What type do you use while registering the out parameter for a function
> that returns a user-defined type ?
>

The easiest way to do this is not to use a CallableStatement, but a normal
Statement or PreparedStatement and issue a

SELECT * FROM string_n_refcursor();

Kris Jurka

В списке pgsql-jdbc по дате отправления:

Предыдущее
От:
Дата:
Сообщение: location of jdbc.jar
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: location of jdbc.jar