Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Calling Stored Proc From Java with Complex Types



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?


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group