aspose file tools*
The moose likes Object Relational Mapping and the fly likes Cursor and Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Cursor and Hibernate" Watch "Cursor and Hibernate" New topic
Author

Cursor and Hibernate

Sonal Suryawanshi
Greenhorn

Joined: Apr 05, 2009
Posts: 5
Hi Experts,

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
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
Yes.
Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cursor and Hibernate