How to Specify t the property or field is not persistent?
Issue
- How to Specify the property or field is
notpersistent? JPAautomatic updates- On our Fuse services, we are using
JPAto deal with persistence and retrieval. By default when we set a property on aJPA Entityaninsert/updatewill be done on flush or commit - The Sample Project has the following logic:
- Obtain an
EntityAusing aentityManagerwith is composed by Integer Id, IntegerfiscalNumberandEntityBentity. - We call an external service to get
EntityB.
- Obtain an
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.