Calling Stored Proc From Java with Complex Types

Поиск
Список
Период
Сортировка
От Jason Tesser
Тема Calling Stored Proc From Java with Complex Types
Дата
Msg-id 98bbb46a1002150759r7e4bb875pb86c98140894ecd0@mail.gmail.com
обсуждение исходный текст
Список pgsql-jdbc
I am trying to call a Stored Procedure that takes Complex Types.

For example the function is declared as
FUNCTION person_save(person_to_save person, addresses address[], emails email[], numbers phone[])

person, address etc... are all tables in Postgres.

How do I do this from Java?

I was trying to use Spring http://forum.springsource.org/showthread.php?t=84731

Do I need to create a type mapping or is there something in the Driver I can use?

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

Предыдущее
От: Gregory Kotsaftis
Дата:
Сообщение: Re: [BUGS] Possible bug with BYTEA and JDBC
Следующее
От: Richard Rowell
Дата:
Сообщение: Re: Timestamp confusion