public class BatchExecutorException extends ExecutorException
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.Constructor and Description |
---|
BatchExecutorException(String message,
BatchUpdateException cause,
List<BatchResult> successfulBatchResults,
BatchResult batchResult) |
Modifier and Type | Method and Description |
---|---|
BatchUpdateException |
getBatchUpdateException() |
String |
getFailingSqlStatement() |
String |
getFailingStatementId() |
List<BatchResult> |
getSuccessfulBatchResults() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BatchExecutorException(String message, BatchUpdateException cause, List<BatchResult> successfulBatchResults, BatchResult batchResult)
public BatchUpdateException getBatchUpdateException()
public List<BatchResult> getSuccessfulBatchResults()
public String getFailingSqlStatement()
public String getFailingStatementId()
Copyright © 2010–2015 MyBatis.org. All rights reserved.