Calling Stored Proc From Java with Complex Types

Поиск
Список
Период
Сортировка
Искать

Calling Stored Proc From Java with Complex Types

От:
Jason Tesser <jasontesser@gmail.com>
Дата:
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?
FAQ