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