open class IncorrectResultSetColumnCountException : DataRetrievalFailureException
Data access exception thrown when a result set did not have the correct column count, for example when expecting a single column but getting 0 or more than 1 columns.
Author
Juergen Hoeller
Since
2.0
See Also
org.springframework.dao.IncorrectResultSizeDataAccessException
IncorrectResultSetColumnCountException(expectedCount: Int, actualCount: Int)
Constructor for IncorrectResultSetColumnCountException. IncorrectResultSetColumnCountException(msg: String, expectedCount: Int, actualCount: Int)
Constructor for IncorrectResultCountDataAccessException. |
open fun getActualCount(): Int
Return the actual column count. |
|
open fun getExpectedCount(): Int
Return the expected column count. |