public class

BatchExecutorException

extends ExecutorException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.ibatis.exceptions.IbatisException
           ↳ org.apache.ibatis.exceptions.PersistenceException
             ↳ org.apache.ibatis.executor.ExecutorException
               ↳ org.apache.ibatis.executor.BatchExecutorException

Class Overview

This exception is thrown if a java.sql.BatchUpdateException is caught during the execution of any nested batch. The exception contains the java.sql.BatchUpdateException that is the root cause, as well as the results from any prior nested batch that executed successfully.

Summary

Public Constructors
BatchExecutorException(String message, BatchUpdateException cause, List<BatchResult> successfulBatchResults, BatchResult batchResult)
Public Methods
BatchUpdateException getBatchUpdateException()
String getFailingSqlStatement()
String getFailingStatementId()
List<BatchResult> getSuccessfulBatchResults()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public BatchExecutorException (String message, BatchUpdateException cause, List<BatchResult> successfulBatchResults, BatchResult batchResult)

Public Methods

public BatchUpdateException getBatchUpdateException ()

public String getFailingSqlStatement ()

public String getFailingStatementId ()

public List<BatchResult> getSuccessfulBatchResults ()