openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r586007 - /openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Thu, 18 Oct 2007 15:31:56 GMT
Author: kwsutter
Date: Thu Oct 18 08:31:56 2007
New Revision: 586007

URL: http://svn.apache.org/viewvc?rev=586007&view=rev
Log:
OPENJPA-403.  Committing Teresa's patch for the 1.0.1 version of Patrick's fix.

Modified:
    openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java

Modified: openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=586007&r1=586006&r2=586007&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Thu Oct 18 08:31:56 2007
@@ -456,7 +456,7 @@
             // post process for the fetchGroup: if there is a
             // fetchgroup field, then go to the FetchConfiguration
             // to get the required fetch fields.
-            if (fgs != null) {
+            if (fgs != null && fetch != null){
                 if (fields == null)
                     fields = new BitSet(fmds.length);
                 BitSet fgFields = fetch.requiresFetch(fgs, fmds);



Mime
View raw message