How can I get the generated ID for an entity with JPA reference binding in FSW?

Solution Verified - Updated -

Issue

  • When inserting an entity using the JPA reference binding, how is it possible to get the generated ID for the inserted entity?
  • The ID property of the entity is not updated when being stored.

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.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