org.hibernate.NonUniqueResultException: query did not return a unique result: 2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via soso.io by Unknown author, 1 year ago
via hibernate.org by Unknown author, 1 year ago
query did not return a unique result: 27
via JIRA by Wesley Brown, 1 year ago
query did not return a unique result: 2
via triboard.ca by Unknown author, 1 year ago
query did not return a unique result: 3
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:758)
at com.ibm.b2e.framework.base.dao.BaseDaoImpl.pagedQuery(BaseDaoImpl.java:784)
at com.ibm.b2e.framework.base.dao.BaseDaoImpl.pagedQuery(BaseDaoImpl.java:651)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 10 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.