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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In