As we cascade save or delete we traverse the object graph tree. Going up to Assoc Ones the depth decreases and going down to Assoc Manys the depth increases.
The depth is used for ordering batching statements. The lowest depth get executed first during save.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|