Skip dirty check for nontransactional, runtime-enhanced instances

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2008-07-14 14:33:59 +00:00
parent 436eefcbba
commit 854eda8a19
1 changed files with 3 additions and 1 deletions

View File

@ -837,6 +837,8 @@ public class StateManagerImpl
return false;
if (isNew() && !isFlushed())
return false;
if (!isTransactional())
return false;
return true;
}