This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing a list to a stored procedure

 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic