generate « Test « JPA Q&A





1. Testing the generated queries    forum.hibernate.org

Hi all, I'm writing an application that has some pretty demanding use. As such I've designed the Hibernate mappings to minimise the number of queries needed against the database per-operation. For example, loading an entity with a collection. I want an eager fetch on the collection because I know, 100% of the time, that I'll need to walk over the collection ...