Why Hibernate throws 'Found two representations of same collection' exception ?
Issue
- Why Hibernate is throwing
"org.hibernate.HibernateException: Found two representations of same collection"exception in the end of the process, whensession.flush()is called.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.2
- Hibernate
- 3.3.2.GA_CP0 {3,4}
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
