You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2009/07/30 16:32:57 UTC

svn commit: r799287 - /geronimo/specs/branches/geronimo-jpa_2.0_spec-1.0-EA5/src/main/java/javax/persistence/Persistence.java

Author: dwoods
Date: Thu Jul 30 14:32:57 2009
New Revision: 799287

URL: http://svn.apache.org/viewvc?rev=799287&view=rev
Log:
GERONIMO-4410 - OPENJPA-1175 Fix PersistenceUtil.isLoaded

Modified:
    geronimo/specs/branches/geronimo-jpa_2.0_spec-1.0-EA5/src/main/java/javax/persistence/Persistence.java

Modified: geronimo/specs/branches/geronimo-jpa_2.0_spec-1.0-EA5/src/main/java/javax/persistence/Persistence.java
URL: http://svn.apache.org/viewvc/geronimo/specs/branches/geronimo-jpa_2.0_spec-1.0-EA5/src/main/java/javax/persistence/Persistence.java?rev=799287&r1=799286&r2=799287&view=diff
==============================================================================
--- geronimo/specs/branches/geronimo-jpa_2.0_spec-1.0-EA5/src/main/java/javax/persistence/Persistence.java (original)
+++ geronimo/specs/branches/geronimo-jpa_2.0_spec-1.0-EA5/src/main/java/javax/persistence/Persistence.java Thu Jul 30 14:32:57 2009
@@ -240,7 +240,7 @@
                 for (PersistenceProvider pp : pps) {
                     try {
                         ProviderUtil pu = pp.getProviderUtil();                        
-                        LoadState ls = pu.isLoadedWithoutReference(entity, attributeName);
+                        LoadState ls = pu.isLoadedWithReference(entity, attributeName);
                         if (ls == LoadState.LOADED)
                             return true;
                         if (ls == LoadState.NOT_LOADED)