How to Specify t the property or field is not persistent?

Solution Unverified - Updated -

Issue

  • How to Specify the property or field is not persistent?
  • JPAautomatic updates
  • On our Fuse services, we are using JPA to deal with persistence and retrieval. By default when we set a property on a JPA Entity an insert/update will be done on flush or commit
  • The Sample Project has the following logic:
    • Obtain an EntityA using a entityManager with is composed by Integer Id, Integer fiscalNumber and EntityB entity.
    • We call an external service to get EntityB.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

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.