aspose file tools*
The moose likes Spring and the fly likes passing a list to a stored procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "passing a list to a stored procedure" Watch "passing a list to a stored procedure" New topic
Author

passing a list to a stored procedure

Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 112
Hi,

I have a situation where I need to pass a ArrayList object to a stored procedure which contains objects of hibernate pojos with values and iterate that in the stored procedure to insert the values and I am trying like this



This list might contain atleast 10000 records but in stored procedure I am not able to handle this list. If I give input parameter as of type object[] then I cant get values from the hibernate pojos. How to achieve this can anyone help.

 
Don't get me started about those stupid light bulbs.
 
subject: passing a list to a stored procedure