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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content