File
Doc
Category
Size
Date
Package
NonUniqueResultException.java
API Doc
Hibernate 3.2.5
511
Thu Jun 03 11:31:32 BST 2004
org.hibernate
NonUniqueResultException
java.lang.Object
HibernateException
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!
author
Gavin King
Fields Summary
Constructors Summary
public NonUniqueResultException
(
int
resultCount)
super( "query did not return a unique result: " + resultCount );
Methods Summary
Java Code Source