open class SQLWarningException : UncategorizedDataAccessException
Exception thrown when we're not ignoring java.sql.SQLWarning.
If a SQLWarning is reported, the operation completed, so we will need to explicitly roll it back if we're not happy when looking at the warning. We might choose to ignore (and log) the warning, or to wrap and throw it in the shape of this SQLWarningException instead.
Author
Rod Johnson
Author
Juergen Hoeller
See Also
org.springframework.jdbc.core.JdbcTemplate#setIgnoreWarnings
SQLWarningException(msg: String, ex: SQLWarning)
Constructor for SQLWarningException. |
open fun SQLWarning(): SQLWarning
Return the underlying SQLWarning. |