Issue while inserting arraylist of records using camel jpa component

Solution Verified - Updated -

Issue

I have sent arraylist in the body before calling jpa endpoint but insert is not happening, I am getting the exception

"javax.persistence.EntityExistsException: a different object with the same identifier value was already associated with the session".

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
    • 6.3.0

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.