AbstractQueryImpl.uniqueElement() has thrown a NonUniqueResultException

org.hibernate.NonUniqueResultException
Javadoc
Thrown when the application calls Query.uniqueResult() and the query returned more than one result. Unlike all other Hibernate exceptions, this one is recoverable! @author Gavin King
at org.hibernate.internal.AbstractQueryImpl.uniqueElement
(source)

Typical Exception Messages

  1. query did not return a unique result: 2
  2. query did not return a unique result: 3
  3. Could not create coverage

Specific cases

External results for this pattern (7)

  1. mjames-upcvia GitHub3 months ago
  2. Shayne Covey [Atlassian]via Atlassian JIRA4 months ago
  3. James Gormanvia Atlassian JIRA4 months ago
    query did not return a unique result: 2
    Show stack trace
  4. James Gormanvia Atlassian JIRA4 months ago
    query did not return a unique result: 2
    Show stack trace
  5. Parthiban Malayandivia Coderanch1 year ago
    query did not return a unique result: 2
    Show stack trace
  6. ppazosvia GitHub2 years ago
    query did not return a unique result: 2
    Show stack trace
  7. adam704avia GitHub2 years ago
    query did not return a unique result: 2
    Show stack trace