Module org.seasar.doma.core
Class EntityqlBatchDeleteStatement<ENTITY>
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<EntityqlBatchDeleteStatement<ENTITY>,BatchResult<ENTITY>>
org.seasar.doma.jdbc.criteria.statement.EntityqlBatchDeleteStatement<ENTITY>
- All Implemented Interfaces:
Buildable<Statement<BatchResult<ENTITY>>>,Statement<BatchResult<ENTITY>>
public class EntityqlBatchDeleteStatement<ENTITY>
extends AbstractStatement<EntityqlBatchDeleteStatement<ENTITY>,BatchResult<ENTITY>>
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionEntityqlBatchDeleteStatement(Config config, EntityMetamodel<ENTITY> entityMetamodel, List<ENTITY> entities, DeleteSettings settings) -
Method Summary
Methods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
createCommenter, peek
-
Constructor Details
-
EntityqlBatchDeleteStatement
public EntityqlBatchDeleteStatement(Config config, EntityMetamodel<ENTITY> entityMetamodel, List<ENTITY> entities, DeleteSettings settings)
-
-
Method Details
-
execute
Executes the SQL statement.- Specified by:
executein interfaceStatement<ENTITY>- Overrides:
executein classAbstractStatement<EntityqlBatchDeleteStatement<ENTITY>,BatchResult<ENTITY>> - Returns:
- the result
- Throws:
OptimisticLockException- if the entity has a version property and an update count is 0JdbcException- if a JDBC related error occurs
-
createCommand
- Specified by:
createCommandin classAbstractStatement<EntityqlBatchDeleteStatement<ENTITY>,BatchResult<ENTITY>>
-
asSql
Description copied from interface:BuildableReturns the built SQL.- Specified by:
asSqlin interfaceBuildable<ENTITY>- Overrides:
asSqlin classAbstractStatement<EntityqlBatchDeleteStatement<ENTITY>,BatchResult<ENTITY>> - Returns:
- the built sql
-