Package ch.tocco.nice2.persist.core.impl.hibernate.cascade
package ch.tocco.nice2.persist.core.impl.hibernate.cascade
-
ClassDescriptionThe
EntityInsertActionResolvercreates a list ofEntityInsertActionimplementations to insert a number of newly created entities without causing constraint violations.Input: an unordered list ofEntityinstances that were newly created during a transaction Output: a list ofEntityInsertActioninstances 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 theEntityInsertActionResolverInserts a new entity into the database by callingSession.persist(Object).