geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r799285 - /geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/Persistence.java
Date Thu, 30 Jul 2009 14:31:52 GMT
Author: dwoods
Date: Thu Jul 30 14:31:51 2009
New Revision: 799285

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

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

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/Persistence.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/Persistence.java?rev=799285&r1=799284&r2=799285&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/Persistence.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/Persistence.java
Thu Jul 30 14:31:51 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)



Mime
View raw message