db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r452606 - in /db/jdo: branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/
Date Tue, 03 Oct 2006 19:51:47 GMT
Author: mbo
Date: Tue Oct  3 12:51:47 2006
New Revision: 452606

URL: http://svn.apache.org/viewvc?view=rev&rev=452606
Log:
JDO-412: set retainValues=false to make sure the instance gets loaded in the next tx and jdoPostLoad
is called

Modified:
    db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
    db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java

Modified: db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
URL: http://svn.apache.org/viewvc/db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java?view=diff&rev=452606&r1=452605&r2=452606
==============================================================================
--- db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
(original)
+++ db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
Tue Oct  3 12:51:47 2006
@@ -80,6 +80,7 @@
     {
         pm = getPM();
         Transaction t = pm.currentTransaction();
+        t.setRetainValues(false);
 
         InstanceCallbackNonPersistFdsClass.initializeStaticsForTest();
 

Modified: db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
URL: http://svn.apache.org/viewvc/db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java?view=diff&rev=452606&r1=452605&r2=452606
==============================================================================
--- db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
(original)
+++ db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
Tue Oct  3 12:51:47 2006
@@ -76,6 +76,7 @@
     {
         pm = getPM();
         Transaction t = pm.currentTransaction(); 
+        t.setRetainValues(false);
 
         InstanceCallbackNonPersistFdsClass.initializeStaticsForTest();
         

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java?view=diff&rev=452606&r1=452605&r2=452606
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPostload.java
Tue Oct  3 12:51:47 2006
@@ -80,6 +80,7 @@
     {
         pm = getPM();
         Transaction t = pm.currentTransaction();
+        t.setRetainValues(false);
 
         InstanceCallbackNonPersistFdsClass.initializeStaticsForTest();
 

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java?view=diff&rev=452606&r1=452605&r2=452606
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/ModificationOfNontransactionalNonpersistentFields.java
Tue Oct  3 12:51:47 2006
@@ -76,6 +76,7 @@
     {
         pm = getPM();
         Transaction t = pm.currentTransaction(); 
+        t.setRetainValues(false);
 
         InstanceCallbackNonPersistFdsClass.initializeStaticsForTest();
         



Mime
View raw message