Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try look here:</p> <p><a href="http://ayende.com/blog/1890/nhibernate-cascades-the-different-between-all-all-delete-orphans-and-save-update" rel="nofollow noreferrer">NHibernate Cascades: the different between all, all-delete-orphans and save-update</a></p> <p>or here:</p> <p><a href="https://stackoverflow.com/q/1994433/735864">Nhibernate Cascade</a></p> <p>also here:</p> <p><a href="https://stackoverflow.com/q/2058417/735864">NHibernate Definitive Cascade application guide</a></p> <p><strong>update</strong></p> <p>Here you can find a great explanation of <em>inverse</em>:</p> <p><a href="https://stackoverflow.com/q/713637/735864">Inverse Attribute in NHibernate</a></p> <p>And those are cascade differences:</p> <ol> <li><strong>cascade="none"</strong>, the default, tells Hibernate to ignore the association.</li> <li><strong>cascade="save-update"</strong> tells Hibernate to navigate the association when the transaction is committed and when an object is passed to save() or update() and save newly instantiated transient instances and persist changes to detached instances.</li> <li><strong>cascade="delete"</strong> tells Hibernate to navigate the association and delete persistent instances when an object is passed to delete().</li> <li><strong>cascade="all"</strong> means to cascade both save-update and delete, as well as calls to evict and lock.</li> <li><strong>cascade="all-delete-orphan"</strong> means the same as cascade="all" but, in addition, Hibernate deletes any persistent entity instance that has been removed (dereferenced) from the association (for example, from a collection).</li> <li><strong>cascade="delete-orphan"</strong> Hibernate will delete any persistent entity instance that has been removed (dereferenced) from the association (for example, from a collection).</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload