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, 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