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 blogspot.com by Unknown author, 1 year ago
via atlassian.com by Unknown author, 1 year ago
via JIRA by Wesley Brown, 1 year ago
query did not return a unique result: 2
via GitHub by obrienben
, 9 months ago
query did not return a unique result: 2
via hibernate.org by Unknown author, 1 year ago
query did not return a unique result: 27
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:616)
at org.lamsfoundation.lams.tool.wiki.dao.hibernate.WikiPageDAO.getByWikiAndTitle(WikiPageDAO.java:28)
at org.lamsfoundation.lams.tool.wiki.service.WikiService.getWikiPageByWikiAndTitle(WikiService.java:752)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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