dependency « Load « JPA Q&A





1. Hibernate loading dependencies    forum.hibernate.org

Hi there, i am fairly new to hibernate and have to work into an spring/hibernate application structure which should be used in future in addition to an existing php application. Now, the problem is, we have tables which have a primary key called 'autoid' and a "real" primary key which is a combination of two columns 'id' and 'endstempel_id'. I have ...

2. Can I force a eager load of the entire dependency graph    forum.hibernate.org

Hibernate version:2.1.6 I have a persistent object with very many dependent objects (Sets mostly). Is there a way I can force an eager load of all the dependent objects? One way it to put it in the mapping file but I dont want to always eager load. Another way is to specify in the hibernate sql all the "outer join fetch" ...