sql.call '{call abcsd_chk(?, ?, ?, ? ,?)}', ['abc1212', '123123','234234', Sql.VARCHAR, Sql.VARCHAR], { result -> println result }
getting error in accessing out parameters ,
No signature of method
its.HomeController$_closure83_closure112.doCall() is applicable for
argument types: (java.lang.String, java.lang.String)Possible solutions: doCall(java.lang.Object), call(),
call([Ljava.lang.Object;), call(java.lang.Object)
didn’t able to get the error,
how to iterate the out parameters after executing of procedure
Aren’t you defining two out parameters there?
Shouldn’t the Closure take them both as parameters?