org.hibernate.query.Query throwing org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException

Description

org.hibernate.query.Query throwing org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException as stated in it's contract:

default R getSingleResult()
Specified by:
getSingleResult in interface javax.persistence.Query

Environment

None

Activity

Show:
Leuteris Katiforis
July 8, 2020, 9:45 AM

Probably duplicate of

GustavoA
July 8, 2020, 1:11 PM

You are right. I tested in 5.3.7 and it was corrected in 5.3.10. I changed affected versions.

Andrea Boriero
September 23, 2020, 10:43 AM

The issue has been fixed in 5.3.10

Assignee

Unassigned

Reporter

GustavoA

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure