Module org.seasar.doma.core
Package org.seasar.doma.jdbc.query
Class AutoBatchUpdateQuery.AutoBatchPostUpdateContext<E>
java.lang.Object
org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext<E>
org.seasar.doma.internal.jdbc.entity.AbstractPostUpdateContext<E>
org.seasar.doma.jdbc.query.AutoBatchUpdateQuery.AutoBatchPostUpdateContext<E>
- Type Parameters:
E- the entity type
- All Implemented Interfaces:
PostUpdateContext<E>
- Enclosing class:
- AutoBatchUpdateQuery<ENTITY>
protected static class AutoBatchUpdateQuery.AutoBatchPostUpdateContext<E>
extends AbstractPostUpdateContext<E>
A context class for post-update processing in batch update operations.
This class provides context information for the post-update phase of batch update operations.
-
Field Summary
Fields inherited from class org.seasar.doma.internal.jdbc.entity.AbstractEntityListenerContext
config, entityType, method, newEntity -
Constructor Summary
ConstructorsConstructorDescriptionAutoBatchPostUpdateContext(EntityType<E> entityType, Method method, Config config) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPropertyChanged(String propertyName) Indicates whether the specified property has been changed.Methods inherited from class org.seasar.doma.internal.jdbc.entity.AbstractPostUpdateContext
validatePropertyDefinedMethods 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.PostUpdateContext
getConfig, getEntityType, getMethod, getNewEntity, getReturningProperties, setNewEntity
-
Constructor Details
-
AutoBatchPostUpdateContext
Constructs a new instance.- Parameters:
entityType- the entity typemethod- the methodconfig- the configuration
-
-
Method Details
-
isPropertyChanged
Indicates whether the specified property has been changed.This method always returns
truefor batch update operations.- Parameters:
propertyName- the property name- Returns:
true- Throws:
IllegalArgumentException- if the property is not defined in the entity- See Also:
-