Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

passing a list to a stored procedure  RSS feed

 
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.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!