You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Quarkus 3.13.0 and 3.13.1, calling singleResultOptional() now throws a org.hibernate.NonUniqueResultException if there are 2 or more results. It used to throw a jakarta.persistence.NonUniqueResultException in Quarkus 3.12 and earlier, and the documentation for 3.13 also still says it throws a jakarta.persistence.NonUniqueResultException.
I haven't checked whether other exceptions, e.g. jakarta.persistence.NoResultException are also affected.
Expected behavior
singleResultOptional() throws jakarta.persistence.NonUniqueResultException, like in Quarkus 3.12.x and before
Describe the bug
In Quarkus 3.13.0 and 3.13.1, calling
singleResultOptional()
now throws aorg.hibernate.NonUniqueResultException
if there are 2 or more results. It used to throw ajakarta.persistence.NonUniqueResultException
in Quarkus 3.12 and earlier, and the documentation for 3.13 also still says it throws ajakarta.persistence.NonUniqueResultException
.I haven't checked whether other exceptions, e.g.
jakarta.persistence.NoResultException
are also affected.Expected behavior
singleResultOptional()
throwsjakarta.persistence.NonUniqueResultException
, like in Quarkus 3.12.x and beforeActual behavior
singleResultOptional()
throwsorg.hibernate.NonUniqueResultException
The text was updated successfully, but these errors were encountered: