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

      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.

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

              Created:
              Updated:
              Resolved: