Query#getSingleResult()
or TypedQuery#getSingleResult() is executed and there is more
than one result from the query. This exception does 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(Exception cause)
Constructs a new |
| public | NonUniqueResultException(String
the detail message. message)Constructs a new |
| public | NonUniqueResultException(String
the detail message. message, Exception cause)Constructs a new |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException() Constructs a new | |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(Exception cause) Constructs a new | |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(String message) Constructs a new
| |
| NonUniqueResultException | back to summary |
|---|---|
| public NonUniqueResultException(String message, Exception cause) Constructs a new
| |