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.
propA.propB[3].propC
has a depth of 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|