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:
Pinaki Poddar 2008-07-14 16:54:05 +00:00
parent 854eda8a19
commit 94814adc39
1 changed files with 1 additions and 3 deletions

View File

@ -811,7 +811,7 @@ public class StateManagerImpl
public void dirtyCheck() { public void dirtyCheck() {
if (!needsDirtyCheck()) if (!needsDirtyCheck())
return; return;
SaveFieldManager saved = getSaveFieldManager(); SaveFieldManager saved = getSaveFieldManager();
if (saved == null) if (saved == null)
throw new InternalException(_loc.get("no-saved-fields", throw new InternalException(_loc.get("no-saved-fields",
@ -837,8 +837,6 @@ public class StateManagerImpl
return false; return false;
if (isNew() && !isFlushed()) if (isNew() && !isFlushed())
return false; return false;
if (!isTransactional())
return false;
return true; return true;
} }