程序包 org.hibernate
类 NonUniqueResultException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.NonUniqueResultException
-
- 所有已实现的接口:
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!- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 NonUniqueResultException(int resultCount)Constructs a NonUniqueResultException.
-
方法概要
-