Hibernate version: 3.1
Name and version of the database you are using: ORACLE 9i
Hi folks, I’d need your advice regarding this problem: I have a quite deep object tree, that is normally lazy loaded. What I’d like to do is reload from the DB the complete object tree (eager fetch mode for all the collections) without changing the mapping. I tried criteria Api but I need to specify the fetching strategy for each collection. In other words, I haven’t found a way to tell hibernate to explore recursively all the object tree and load all the collections eagerly.
Is there a way to do it in a simple way?
|