7 measures encouraged by optimizing Hibernate
7 steps Hibernate encourages:
1. Use many-to-one instead of one-to-many.
2. Flexible one-way one-to-many
3. Instead of one-on-one, use many-on-one instead of one-on-one
4. Configure object cache without using collection cache
5. One-to-many Bag Multi-to-one Set
6. inheritance use display polymorphism HQL:from object polymorphism="exlicit" Avoid investigating all objects
7. Eliminate large tables and use L2 cache