I'm receiving duplicate/multiple results when using a left outer join in Hibernate/JPA

Solution Unverified - Updated -

Issue

  • My Entity contains associations which are being fetched with left outer joins.  I am seeing duplicate results. Instead of 1 Entity with x assocations fetched, I am seeing x Entities fetched along with the associations.

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.2
  • Hibernate
  • JPA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.