mirror of https://github.com/apache/openjpa.git
Revert changes to exclude non-transactional states from dirty checking
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
854eda8a19
commit
94814adc39
|
@ -811,7 +811,7 @@ public class StateManagerImpl
|
|||
public void dirtyCheck() {
|
||||
if (!needsDirtyCheck())
|
||||
return;
|
||||
|
||||
|
||||
SaveFieldManager saved = getSaveFieldManager();
|
||||
if (saved == null)
|
||||
throw new InternalException(_loc.get("no-saved-fields",
|
||||
|
@ -837,8 +837,6 @@ public class StateManagerImpl
|
|||
return false;
|
||||
if (isNew() && !isFlushed())
|
||||
return false;
|
||||
if (!isTransactional())
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue