public class InvalidResultException extends DataAccessException
Query
. This
exception indicates wrong usage of jOOQ's various fetch methods, or an
integrity problem in your data after query execution, meaning that
the execution of the query in the database is not affected.
This is typically the case in the following situations:
ResultQuery.fetchOne()
and the
database returns more than one record (you'll get a
TooManyRowsException
).ResultQuery.fetchMap(org.jooq.Field)
and the database returns several
records per key.TableRecord
using
UpdatableRecord.refresh()
, and the record does not exist anymore in
the database (you'll get a NoDataFoundException
).Constructor and Description |
---|
InvalidResultException(java.lang.String message)
Constructor for InvalidResultException.
|
getCause, getStackTrace, sqlState, sqlStateClass, sqlStateSubclass
Copyright © 2018. All Rights Reserved.