org.hibernate.query.Query throws org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException, violating it’s contract.
org.hibernate.query.Query throws org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException, violating it’s contract.