Package org.hibernate
Class NonUniqueResultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.HibernateException
org.hibernate.NonUniqueResultException
- All Implemented Interfaces:
Serializable
Thrown when the application calls Query.uniqueResult() and
the query returned more than one result. Unlike all other Hibernate
exceptions, this one is recoverable!
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonUniqueResultException
public NonUniqueResultException(int resultCount)
-