mirror of https://github.com/apache/openjpa.git
OPENJPA-680 - revert changes due to TCK regression.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@685336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4845dae9b
commit
404cbbf99b
|
@ -362,8 +362,7 @@ public class StateManagerImpl
|
|||
*/
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue