JPA : uniqueResult throws NoResultException instead of returning null
Bug #624727 reported by
Timo Westkämper
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
According to com.mysema.
summary: |
- uniqueResult throws NoResultException instead of returning null + JPA : uniqueResult throws NoResultException instead of returning null |
To post a comment you must log in.
Fixed by catching the Exception and returning null instead