Module org.seasar.doma.core
Class AbstractPostInsertContext<E>
java.lang.Object
org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext<E>
org.seasar.doma.internal.jdbc.entity.AbstractPostInsertContext<E>
- All Implemented Interfaces:
PostInsertContext<E>
- Direct Known Subclasses:
AutoBatchInsertQuery.AutoBatchPostInsertContext,AutoInsertQuery.AutoPostInsertContext,AutoMultiInsertQuery.AutoPostInsertContext,SqlFileBatchInsertQuery.SqlFileBatchPostInsertContext,SqlFileInsertQuery.SqlFilePostInsertContext
public class AbstractPostInsertContext<E>
extends AbstractEntityListenerContext<E>
implements PostInsertContext<E>
-
Field Summary
Fields inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
config, entityType, method, newEntity -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPostInsertContext(EntityType<E> entityType, Method method, Config config, DuplicateKeyType duplicateKeyType) -
Method Summary
Modifier and TypeMethodDescriptionReturns the duplicate key handling strategy used for this insert operation.Methods inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
getConfig, getEntityType, getMethod, getNewEntity, isPropertyDefinedInternal, setNewEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.entity.PostInsertContext
getConfig, getEntityType, getMethod, getNewEntity, getReturningProperties, setNewEntity
-
Constructor Details
-
AbstractPostInsertContext
protected AbstractPostInsertContext(EntityType<E> entityType, Method method, Config config, DuplicateKeyType duplicateKeyType)
-
-
Method Details
-
getDuplicateKeyType
Description copied from interface:PostInsertContextReturns the duplicate key handling strategy used for this insert operation.This method indicates how the insert operation handled duplicate key violations, such as by updating the existing record, ignoring the error, or throwing an exception.
- Specified by:
getDuplicateKeyTypein interfacePostInsertContext<E>- Returns:
- the duplicate key handling strategy
- See Also:
-