EJB2.1 finder for CMP entities with relations (CMR) returns duplicates in EAP 6

Solution Verified - Updated -

Issue

  • A finder with managed relations (CMR) return duplicate entries after migration from EAP 4/EAP 5 to EAP 6.
  • Why is the generated SQL different in EAP 5 and EAP 6?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x

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