openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject svn commit: r489761 - /incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java
Date Fri, 22 Dec 2006 20:58:43 GMT
Author: ssegu
Date: Fri Dec 22 12:58:43 2006
New Revision: 489761

URL: http://svn.apache.org/viewvc?view=rev&rev=489761
Log:
Use fetch - needed to handle autoassign value-strategy 

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

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java?view=diff&rev=489761&r1=489760&r2=489761
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/DataCacheStoreManager.java
Fri Dec 22 12:58:43 2006
@@ -641,7 +641,7 @@
         if (_gen != null)
             return (DataCachePCData) _gen.generatePCData
                 (sm.getObjectId(), meta);
-        return new DataCachePCDataImpl(sm.getObjectId(), meta);
+        return new DataCachePCDataImpl(sm.fetchObjectId(), meta);
     }
 
     /**



Mime
View raw message