1. Hibernate - How to efficiently fetch a big object graph? stackoverflow.comFor a project, I have to read a list of objects out of a database. The object type is a big object graph consisting of a lot of associated objects. When ... |
2. fetch=join when navigating object graph forum.hibernate.orgHibernate version: 3.01 Hello, The docs and previous posts seem to focus on Criteria queries to facilitate the fetch=join strategy. Though the reference manual suggests that simple object navigation should utilize the stategy if specified in the mapping files. I'm a bit unclear as to what that exactly means - since we cannot get a desireable result. A 1:m B 1:m ... |
3. fetch="join" + navigating graph with iterator().ne forum.hibernate.org |
4. Fetching a whole graph of objects using the Criteria API forum.hibernate.orgHi, I have the need to fetch a whole graph of objects using the Criteria API. Let's take the following example : companies have departments, each department having a manager. From what I've understood, my need might be fullfilled by the following lines of code : Code: List result = sess.createCriteria(Company.class) .add( Restrictions.like("name", "%Inc") ) ... |