openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r685336 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Tue, 12 Aug 2008 21:58:19 GMT
Author: allee8285
Date: Tue Aug 12 14:58:19 2008
New Revision: 685336

URL: http://svn.apache.org/viewvc?rev=685336&view=rev
Log:
OPENJPA-680 - revert changes due to TCK regression.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=685336&r1=685335&r2=685336&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Tue Aug 12 14:58:19 2008
@@ -362,8 +362,7 @@
      */
     protected boolean load(FetchConfiguration fetch, int loadMode,
         BitSet exclude, Object sdata, boolean forWrite) {
-        if (!forWrite
-            && (!isPersistent() || (isNew() && !isFlushed()) || isDeleted()))
+        if (!forWrite && (!isPersistent() || isNew() || isDeleted()))
             return false;
 
         // if any fields being loaded, do state transitions for read



Mime
View raw message