Interface InsertRowsCoordinator
- All Superinterfaces:
CollectionOperationCoordinator
- All Known Implementing Classes:
InsertRowsCoordinatorNoOp,InsertRowsCoordinatorStandard,InsertRowsCoordinatorTablePerSubclass
Coordinates the logical insertion of collection entries which are not yet persistent.
Insertions are determined by filtering the entries obtained
from PersistentCollection.entries(CollectionPersister).
A "logical" insertion because the actual SQL used may be an UPDATE in the case of one-to-many mappings to set the foreign-key
- See Also:
-
CollectionPersister.recreate(org.hibernate.collection.spi.PersistentCollection<?>, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)CollectionPersister.insertRows(org.hibernate.collection.spi.PersistentCollection<?>, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)RowMutationOperations.getInsertRowOperation()RowMutationOperations.getInsertRowValues()
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA tri-predicate for including / excluding collection entries from iterative processing insideinsertRows(org.hibernate.collection.spi.PersistentCollection<?>, java.lang.Object, org.hibernate.persister.collection.mutation.InsertRowsCoordinator.EntryFilter, org.hibernate.engine.spi.SharedSessionContractImplementor). -
Method Summary
Modifier and TypeMethodDescriptionvoidinsertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session) Perform the creation.Methods inherited from interface org.hibernate.persister.collection.mutation.CollectionOperationCoordinator
getMutationTarget
-
Method Details