Module org.seasar.doma.core
Package org.seasar.doma.jdbc.query
Class AutoBatchInsertQuery.AutoBatchPreInsertContext<E>
java.lang.Object
org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext<E>
org.seasar.doma.internal.jdbc.entity.AbstractPreInsertContext<E>
org.seasar.doma.jdbc.query.AutoBatchInsertQuery.AutoBatchPreInsertContext<E>
- Type Parameters:
E- the entity type
- All Implemented Interfaces:
PreInsertContext<E>
- Enclosing class:
- AutoBatchInsertQuery<ENTITY>
protected static class AutoBatchInsertQuery.AutoBatchPreInsertContext<E>
extends AbstractPreInsertContext<E>
The context class for pre-insert batch processing.
This context is used during the pre-insert phase of batch insert operations to provide entity-specific processing.
-
Field Summary
Fields inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
config, entityType, method, newEntity -
Constructor Summary
ConstructorsConstructorDescriptionAutoBatchPreInsertContext(EntityType<E> entityType, Method method, Config config, DuplicateKeyType duplicateKeyType) Constructs an instance. -
Method Summary
Methods inherited from class org.seasar.doma.internal.jdbc.entity.AbstractPreInsertContext
getDuplicateKeyTypeMethods 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.PreInsertContext
getConfig, getEntityType, getMethod, getNewEntity, getReturningProperties, setNewEntity
-
Constructor Details
-
AutoBatchPreInsertContext
public AutoBatchPreInsertContext(EntityType<E> entityType, Method method, Config config, DuplicateKeyType duplicateKeyType) Constructs an instance.- Parameters:
entityType- the entity typemethod- the methodconfig- the configurationduplicateKeyType- the strategy for handling duplicate keys
-