1. Projection Criteria ignores batch-size forum.hibernate.org |
2. Batch Criteria query optimisation forum.hibernate.orgHello all, This is my first post so thank you for reading this. Code: I have a query that i would like to optimize a bit: Criteria crit = session.createCriteria(Etablishment.class); crit.setFetchMode("status", FetchMode.JOIN) .setFetchMode("Company", FetchMode.JOIN) .setFetchMode("diffusions", FetchMode.JOIN); ... |