Joined: Sun Oct 26, 2003 4:46 pm Posts: 16 Location: Tallinn, Estonia
|
Hello,
I am writing a reporting application. It involves gathering data from a couple of unrelated tables. One of the tables is a huge one. The datasets fetched from there could also be quite big (we agreed that at least up to 20,000 rows should be handled). This table is populated by other processes, my job is only to read from that table.
I am right now wondering whether using Hibernate for this task is a good idea or not. This is all strictly read-only and caching can't be used either. The benefit of Hibernate would be that I wouldn't have to code the data loading from the ResultSet myself. However isn't it true that Hibernate keeps a copy of the loaded objects in the session? This would mean a lot of extra memory usage. Even with FlushMode.NEVER Hibernate must still be prepared that I call flush() manually?
Any comments would be greatly appreciated.
_________________ best regards,
erik
|
|