I am quite new to Hibernate. Can you please tell me how to use cursor in Hibernate?
I mean, how to write query for creating/deleting cursor in Database using Hibernate?
Many thanks
Sandeep Awasthi
Ranch Hand
Joined: Oct 23, 2003
Posts: 597
posted
0
query for creating/deleting cursor in Database using Hibernate
Do you mean opening and closing cursors?
Sandeep
Sonal Suryawanshi
Greenhorn
Joined: Apr 05, 2009
Posts: 5
posted
0
Yes.
Sandeep Awasthi
Ranch Hand
Joined: Oct 23, 2003
Posts: 597
posted
0
Why do you want to do that, hibernate will do it for you behind the scene.
The only way you can do is through stored procedure and call that stored procedure from hibernate.