public interface LoaderError
An error that occurred during loading. Errors are only handled when they were
caused by
DataAccessException
's. IOException
's and other
problems will abort loading fatally.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionThe underlyingDataAccessException
that caused the error.query()
The query whose execution failed.String[]
row()
The row data that caused the error.int
rowIndex()
The processed row index starting with0
that caused the error.
-
Method Details
-
exception
DataAccessException exception()The underlyingDataAccessException
that caused the error. -
rowIndex
int rowIndex()The processed row index starting with0
that caused the error.If queries were executed in batch mode, this will be the row index of the last row added to the batch.
-
row
String[] row()The row data that caused the error.If queries were executed in batch mode, this will be the last row added to the batch.
-
query
Query query()The query whose execution failed.
-