HHH000327: Error performing load command : org.hibernate.HibernateException: More than one row with the given identifier was found - Upgrading from Fuse 6 to 7

Solution Verified - Updated -

Issue

  • After updating Hibernate to 5.3.6 version the logs are throwing the following error during a persist/update operation:
Error saving entity object: com.example.MyEntity
javax.persistence.PersistenceException: org.hibernate.HibernateException: More than one row with the given identifier was found: XXX, for class: com.example.MyEntity

Environment

  • Red Hat Fuse 7.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