open class JdbcUpdateAffectedIncorrectNumberOfRowsException : IncorrectUpdateSemanticsDataAccessException
Exception thrown when a JDBC update affects an unexpected number of rows. Typically we expect an update to affect a single row, meaning it's an error if it affects multiple rows.
Author
Rod Johnson
Author
Juergen Hoeller
JdbcUpdateAffectedIncorrectNumberOfRowsException(sql: String, expected: Int, actual: Int)
Constructor for JdbcUpdateAffectedIncorrectNumberOfRowsException. |
open fun getActualRowsAffected(): Int
Return the number of rows that have actually been affected. |
|
open fun getExpectedRowsAffected(): Int
Return the number of rows that should have been affected. |
|
open fun wasDataUpdated(): Boolean |