Home » Search

About NonUniqueResultException

1-10 of 12Refresh
JPA Doc
141

NonUniqueResultException()

Constructor javax.persistence.NonUniqueResultException NonUniqueResultException() Constructs a new NonUniqueResultException exception with null as its detail message. Since: JPA 1.0
JPA Doc
141

NonUniqueResultException(message)

Constructor javax.persistence.NonUniqueResultException NonUniqueResultException(   String message ) Constructs a new NonUniqueResultException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 1.0
JPA Doc
114

javax.persistence.NonUniqueResultException

javax.persistence Exception NonUniqueResultException java.lang.Object java.lang.Throwable ... .PersistenceException javax.persistence.NonUniqueResultException Implemented ... .0 See Also: Query.getSingleResult() TypedQuery.getSingleResult() NonUniqueResultException
JPA Doc
89

JPA Exceptions

.persistence.LockTimeoutException javax.persistence.NonUniqueResultException
Manual
89

Running JPA Queries

.g. due to a bug) a NonUniqueResultException is thrown. On the other hand, if there are no results
JPA Doc
12

javax.persistence.PersistenceException

, EntityNotFoundException, LockTimeoutException, NonUniqueResultException, NoResultException ... except for instances of NoResultException, NonUniqueResultException, LockTimeoutException
JPA Doc
12

javax.persistence.TypedQuery

- if there is no result NonUniqueResultException - if more than one result IllegalStateException ... NonUniqueResultException - if more than one result IllegalStateException - if called for a Java Persistence
JPA Doc
8

getSingleResult()

Method javax.persistence.Query Object getSingleResult() Execute a SELECT query that returns a single untyped result. Returns: the result Throws: NoResultException - if there is no result NonUniqueResultException - if more than one result IllegalStateException - if called for a Java Persistence
JPA Doc
8

getSingleResult()

Method javax.persistence.TypedQuery X getSingleResult() Execute a SELECT query that returns a single result. Returns: the result Throws: NoResultException - if there is no result NonUniqueResultException - if more than one result IllegalStateException - if called for a Java Persistence query
Result
8

java.io.Serializable

, LockTimeoutException, LongIdentity, NonUniqueResultException, NoResultException, NullValue, ObjectIdentity