Monday, 22 April 2013

Call Stored Procedure In Hibernate With Parameter



Query query=session.createSQLQuery("call fetchRecord(:p_id,:user_Name)");
query.setParameter("p_id", "10"); 
query.setParameter("user_Name","Arun");