Can I read Hibernate Mappings to Avoid for Performance on EtoBox?
Hibernate Mappings to Avoid for Performance by Adolf is a document available to read on EtoBox.
What is Hibernate Mappings to Avoid for Performance about?
This document discusses 6 Hibernate mappings that should be avoided for high-performance applications: 1. FetchType.EAGER should be avoided and FetchType.LAZY used instead to avoid unnecessary database queries. 2. Many-to-many associations should not be mapped to a List due to inefficient removal but rather a Set. 3. Bidirectional one-to-one mappings should be avoided due to lazy loading issues; a unidirectional mapping with shared primary keys is preferred. 4. The @Formula annotation should be avoided
- Author
- Adolf
- Language
- EN