org.hibernate.NonUniqueResultException

query did not return a unique result: 2

Solutions on the web55

  • via Atlassian JIRA by James Gorman, 1 year ago
    query did not return a unique result: 2
  • via Atlassian JIRA by Paavo Nugin, 10 months ago
    query did not return a unique result: 2
  • via JIRA by Martin Boulanger, 1 year ago
    query did not return a unique result: 2
  • Stack trace

    • org.hibernate.NonUniqueResultException: query did not return a unique result: 2 at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:820) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) at com.gwtech.crm.action.TestUniqueResult.main(TestUniqueResult.java:18)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 7 months ago