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