Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16771

(7.2.z) HHH-13300 Query.getSingleResult() throws org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException

    XMLWordPrintable

Details

    Description

      Hibernate's implementation of javax.persistence.Query#getSingleResult and #executeUpdate can throw Hibernate exceptions. They should throw JPA exceptions instead.

      This is a regression that got introduced in EAP 7.2.

      Attachments

        Issue Links

          Activity

            People

              gbadner@redhat.com Gail Badner (Inactive)
              gbadner@redhat.com Gail Badner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: