public class TooManyRowsException extends InvalidResultException
ResultQuery
.
Like any other InvalidResultException
, this exception indicates to
clients that the result was not what they expected, but this does not have
any effect on the outcome of the statement producing that result. For
instance, if calling ResultQuery.fetchOne()
on a
SELECT .. FOR UPDATE
query, or
InsertResultStep.fetchOne()
on an INSERT
statement, the
database change will still be executed: the rows will still be locked or
inserted.
Constructor and Description |
---|
TooManyRowsException()
Constructor for TooManyRowsException.
|
TooManyRowsException(java.lang.String message)
Constructor for TooManyRowsException.
|
getCause, getStackTrace, sqlState, sqlStateClass, sqlStateSubclass
Copyright © 2018. All Rights Reserved.