Variable v is a simple java.util.Vector and does not matter at this point (sorry for inserting here).
Here is the relevant part of may console-log, you can clearly see the n+1 queries:
12:24:04,231 INFO [STDOUT] Hibernate: select this_.siteID as siteID0_,this_.name as name10_0_ from Site this_
12:24:04,387 INFO [STDOUT] Hibernate: select rubrics0_.site as site__, rubrics0_.rubricID as rubricID__, rubrics0_.rubricID as rubricID0_, rubrics0_.description as descript2_9_0_, rubrics0_.title as title9_0_, rubrics0_.site as site9_0_, r
ubrics0_.parentRubric as parentRu5_9_0_ from Rubric rubrics0_ where rubrics0_.site=?
12:24:04,403 INFO [STDOUT] Hibernate: select rubrics0_.site as site__, rubrics0_.rubricID as rubricID__, rubrics0_.rubricID as rubricID0_, rubrics0_.description as descript2_9_0_, rubrics0_.title as title9_0_, rubrics0_.site as site9_0_, rubrics0_.parentRubric as parentRu5_9_0_ from Rubric rubrics0_ where rubrics0_.site=?
12:24:04,403 INFO [STDOUT] Hibernate: select rubrics0_.site as site__, rubrics0_.rubricID as rubricID__, rubrics0_.rubricID as rubricID0_, rubrics0_.description as descript2_9_0_, rubrics0_.title as title9_0_, rubrics0_.site as site9_0_, rubrics0_.parentRubric as parentRu5_9_0_ from Rubric rubrics0_ where rubrics0_.site=?
12:24:04,403 INFO [STDOUT] Hibernate: select rubrics0_.site as site__, rubrics0_.rubricID as rubricID__, rubrics0_.rubricID as rubricID0_, rubrics0_.description as descript2_9_0_, rubrics0_.title as title9_0_, rubrics0_.site as site9_0_, rubrics0_.parentRubric as parentRu5_9_0_ from Rubric rubrics0_ where rubrics0_.site=?
|