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
ResultQuery.fetchMap(org.jooq.Field)and the database returns several records per key.
UpdatableRecord.refresh(), and the record does not exist anymore in the database (you'll get a
|Constructor and Description|
Constructor for InvalidResultException.
getCause, getStackTrace, sqlState, sqlStateClass, sqlStateSubclass
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidResultException(String message)
message- the detail message
Copyright © 2019. All rights reserved.