miguelAngelOjeda / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

Add get method that allows setting properties to be fetched #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For example, if I want to load a cat and join-fetch its list of friends:
catDao.find(catId, "friends");

Or if I want to join-fetch it's friends and children:
catDao.find(catId, "friends", "children");

Original issue reported on code.google.com by dwolvert on 15 Jul 2009 at 9:12