Criteria « Batch « JPA Q&A





1. Projection Criteria ignores batch-size    forum.hibernate.org

2. Batch Criteria query optimisation    forum.hibernate.org

Hello 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); ...