aspose file tools
The moose likes Object Relational Mapping and the fly likes paging and hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "paging and hibernate" Watch "paging and hibernate" New topic
Author

paging and hibernate

Mrigank Shekhar
Greenhorn

Joined: Sep 16, 2004
Posts: 7
Hi

I have an existing Paging implementation in place in my application. The current implementation uses RowSet for paging. It takes the result set and creates a RowSet object from it.

I have added Hibernate support to my application. Now i want to add paging support to my application using Hibernate. The hibernate finders return me a Collection of objects. For paging i want to use my existing RowSet impl (cannot change that ). Can you let me know how can i get a resultset/rowset using hibernate. Does Hibernate provide me with methods to get a resultset/rowset/scrollableset ??

Or is there an alternate way to do it ??

Thanks a lot,
Mrigank.
 
 
subject: paging and hibernate
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com