openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awh...@apache.org
Subject svn commit: r427206 - /incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Mon, 31 Jul 2006 18:50:20 GMT
Author: awhite
Date: Mon Jul 31 11:50:19 2006
New Revision: 427206

URL: http://svn.apache.org/viewvc?rev=427206&view=rev
Log:
Always pass non-null fetch conf to StoreManager.


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

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=427206&r1=427205&r2=427206&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Mon Jul 31 11:50:19 2006
@@ -2718,6 +2718,8 @@
             // if any fields given, load them
             int len = (fields == null) ? 0 : fields.length();
             if (len > 0) {
+                if (fetch == null)
+                    fetch = _broker.getFetchConfiguration();
                 if (!_broker.getStoreManager().load(this, fields, fetch,
                     lockLevel, sdata)) {
                     throw new ObjectNotFoundException(_loc.get("del-instance",



Mime
View raw message