Package org.hibernate

Class NonUniqueResultException

All Implemented Interfaces:
Serializable

public class NonUniqueResultException extends HibernateException
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 Details

    • NonUniqueResultException

      public NonUniqueResultException(int resultCount)