Calling Stored Proc From Java with Complex Types - Mailing list pgsql-jdbc

From Jason Tesser
Subject Calling Stored Proc From Java with Complex Types
Date
Msg-id 98bbb46a1002150759r7e4bb875pb86c98140894ecd0@mail.gmail.com
Whole thread Raw
List 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 by date:

Previous
From: Gregory Kotsaftis
Date:
Subject: Re: [BUGS] Possible bug with BYTEA and JDBC
Next
From: Richard Rowell
Date:
Subject: Re: Timestamp confusion