How to pass Array of String / Integer to Stored procedure using Hibernate
posted 6 years ago
I am able to call stored procedure successfully using EJB3.
there is a new requirement where I need to call a stored procedure which takes in array of String or integer.
In JDBC it is fine. We can use ARRAY / ArrayDescriptor etc.
How can we do it in Hibernate / EJB3? Can simple doing setParameter(n,<java array or String>); will work?
Can any one point me to some example? I tried googling but not much success.