-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Calling DB2 procedure which has ROW type as a OUT parameter.
PostPosted: Wed Jun 19, 2013 1:48 pm 
Newbie

Joined: Wed Jun 19, 2013 1:38 pm
Posts: 1
Hi All,
We are trying to call a DB2 procedure from hibernate layer. DB2 procedure has several IN and OUT parameters. Please find the below method declaration:

CREATE OR REPLACE PROCEDURE GET_VOYAGE_RECORD_LIST (
IN VOYAGE_LIST CHARARRAY,
IN CABIN_META CHARACTER(1),
IN PASTPASSENGER BOOLEAN,
IN WHEELCHAIRSUPPORT BOOLEAN,
IN CAMPAIGN CHARARRAY,
IN NO_OF_PAX INTEGER,
IN COUNTRY VARCHAR(50),
IN CURRENCY VARCHAR(50),
OUT RESULT_LIST DATAROW_ARRAY)
BEGIN
....
...

END;

How to CALL this procedure from hibernate layer? Any help will be really appreciated.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.