epbernard wrote:
Are your data used in other queries (not only in init time) ?
If yes, you can use Hibernate and JVM level caching system. Those objects won't be loaded several times.
Yes, they will be used elsewhere too. I've made a note to get to know more about JVM caching in Hibernate.
Quote:
Does your data implements complex relationship between them ?
It's easier to map it once and let Hibernate deals with loading
Nothing too complex.. .
Quote:
Do you use Hiberate in other part of your app ?
No..
Quote:
Do you (or one of your team) have experience with Hibernate ?
No..
Quote:
Do you want to give it a try ?
Yes.. sure.
Quote:
If you answered yes to one of those questions, let's roll.
Thank you for your comments.. does your opinion change based on the two "No"s above?
-Balaji