Package ch.tocco.nice2.persist.core.impl.hibernate.cascade
package ch.tocco.nice2.persist.core.impl.hibernate.cascade
-
ClassDescriptionThe
EntityInsertActionResolver
creates a list ofEntityInsertAction
implementations to insert a number of newly created entities without causing constraint violations.Input: an unordered list ofEntity
instances that were newly created during a transaction Output: a list ofEntityInsertAction
instances that are ordered such that they don't cause any constraint violations during insertion.Tracks all newly created entities per session/transaction and inserts them using theEntityInsertActionResolver
Inserts a new entity into the database by callingSession.persist(Object)
.