diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java index f1baf38f9..b2949deb0 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java @@ -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; }