[hibernate-issues] [JIRA] (HHH-14085) org.hibernate.query.Query throwing org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException

GustavoA (JIRA) jira at hibernate.atlassian.net
Wed Jun 24 19:11:44 EDT 2020


GustavoA ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa643ac7f-2620-4535-8c19-471e5e2e99b7 ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYjBiZTNhMzE2ZDM1NDE4NWFhNjMwMWNkZjEzMjYzYWMiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-14085?atlOrigin=eyJpIjoiYjBiZTNhMzE2ZDM1NDE4NWFhNjMwMWNkZjEzMjYzYWMiLCJwIjoiaiJ9 ) HHH-14085 ( https://hibernate.atlassian.net/browse/HHH-14085?atlOrigin=eyJpIjoiYjBiZTNhMzE2ZDM1NDE4NWFhNjMwMWNkZjEzMjYzYWMiLCJwIjoiaiJ9 ) org.hibernate.query.Query throwing org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException ( https://hibernate.atlassian.net/browse/HHH-14085?atlOrigin=eyJpIjoiYjBiZTNhMzE2ZDM1NDE4NWFhNjMwMWNkZjEzMjYzYWMiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 5.3.15 Assignee: Unassigned Components: hibernate-core Created: 24/Jun/2020 16:11 PM Labels: hibernate Priority: Minor Reporter: GustavoA ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa643ac7f-2620-4535-8c19-471e5e2e99b7 )

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

( https://hibernate.atlassian.net/browse/HHH-14085#add-comment?atlOrigin=eyJpIjoiYjBiZTNhMzE2ZDM1NDE4NWFhNjMwMWNkZjEzMjYzYWMiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14085#add-comment?atlOrigin=eyJpIjoiYjBiZTNhMzE2ZDM1NDE4NWFhNjMwMWNkZjEzMjYzYWMiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100130- sha1:b8a2349 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200624/0ec1b94c/attachment.html 


More information about the hibernate-issues mailing list