java.gagan wrote:
I am trying to call mysql stored procedure. but i got the following exception:
Exception in thread "main" java.lang.IllegalArgumentException: callable not yet supported for native queries
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:171)
at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1190)
at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:357)
at com.gagan.dao.EmployeeDaoService.updateEmployeeTest(EmployeeDaoService.java:47)
at com.gagan.main.MainClass.main(MainClass.java:24)
Is there any other option to call MySQL stored Procedure(DML operation) from Hibernate