Query.getSingleResult() or TypedQuery.getSingleResult() is executed on a
query and there is more than one result from the query. This
exception will not cause the current transaction, if one is active,
to be marked for rollback.
Query#getSingleResult(), TypedQuery#getSingleResult()
| Access | Constructor and Description |
|---|---|
| public | NonUniqueResultException()
Constructs a new |
| public | NonUniqueResultException(String
the detail message. message)Constructs a new |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException() Constructs a new | |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(String message) Constructs a new
| |