Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.2.2
-
None
-
None
-
Websphere 7.0.0.19 running Windows 2008 Standard Server; DB: Oracle 11i Running in AIX
Description
After implementing the getEm().flush(); and getEM().clear(); the problem of update duplicate times for 2000 of times is resolved but created a new problems with Oracle and increase the Shared Pool memory.
Is that advise on this OPEN JPA Behaviour
CODE WHICH GOT THE PROBLEM Duplicate Update (v0) with 2000 version increment:
@Override
public VisitDiagnosisTx saveVisitDiagnosisTx(VisitDiagnosisTx visitDiagTx)
NEW CODE WHICH RESOLVED DUPLICATE UPDATES (v1) with only 1 version increment:
@Override
public VisitDiagnosisTx saveVisitDiagnosisTx(VisitDiagnosisTx visitDiagTx)
Does this cause any Abnormal JPA Behaviour?