Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pass an array to Stored proc call thru hibernate

 
Jitu Ji
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Hibernates getNamedQuery() API to call a stored proc and I need to pass an array to Oracle stored proc.
How can I set that array type parameter using setParameter().

Please suggest.

Thanks

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haven't tried, but what if you call setParameterList() instead?

Does that work for you?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic