Top Description Constructors
org.hibernate

public Class NonUniqueResultException

extends HibernateException
Class Inheritance

Thrown when the application calls Query.uniqueResult() and the query returned more than one result. Unlike all other Hibernate exceptions, this one is recoverable!
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public
NonUniqueResultException(int
The number of actual results.
resultCount
)

Constructs a NonUniqueResultException.

Constructor Detail

NonUniqueResultExceptionback to summary
public NonUniqueResultException(int resultCount)

Constructs a NonUniqueResultException.

Parameters
resultCount:int

The number of actual results.