Pages

Showing posts with label Hibernate. Show all posts
Showing posts with label Hibernate. Show all posts

Monday, 29 July 2013

How to call stored procedure in Hibernate

Step 1: First Create the Stored Procedure in MySQL

Create procedure 'GetStudents' (INT student_id varchar(20))
Begin
    select * from student where s_id = student_id;
End

call GetStudents('2');