Query.getSingleResult() or TypedQuery.getSingleResult()is executed on a query
and there is no result to return. 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 | |
| public | NoResultException(String
the detail message. message)Constructs a new |
| NoResultException | back to summary |
|---|---|
| public NoResultException() Constructs a new | |
| NoResultException | back to summary |
|---|---|
| public NoResultException(String message) Constructs a new
| |