String « Stored Procedure « JPA Q&A





2. Passing Array of String to Stored Procedure    forum.hibernate.org

There doesn't seem to be a SetParameter style function in IQuery that handles arrays. There's SetParameterList that can take a ICollection but I'm not sure that would do what you want. An alternative could be to modify your stored procedure to take in a single string and then pass it a comma-separated list of id values. The stored procedure could then ...