public class InvalidResultException extends DataAccessException
Query
. This
exception indicates wrong usage of jOOQ's various fetch methods, or an
integrity problem in your data.
This is typically the case in the following situations:
ResultQuery.fetchOne()
and the
database returns more than one record.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.Constructor and Description |
---|
InvalidResultException(String message)
Constructor for InvalidResultException.
|
sqlState, sqlStateClass, sqlStateSubclass
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidResultException(String message)
message
- the detail messageCopyright © 2016. All Rights Reserved.