add a diagram
This commit is contained in:
parent
37e8218227
commit
86e40f619e
|
@ -108,6 +108,8 @@ fundamental rule of thumb in ORM is:
|
|||
of a session/transaction, and fetch it immediately in one or two queries,
|
||||
- and only then start navigating associations between persistent entities.
|
||||
|
||||
image:images/fetching.png[width=700,align="center"]
|
||||
|
||||
Without question, the most common cause of poorly-performing data access
|
||||
code in Java programs is the problem of _N+1 selects_. Here, a list of N
|
||||
rows is retrieved from the database in an initial query, and then
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 170 KiB |
Loading…
Reference in New Issue