db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r429837 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java
Date Tue, 08 Aug 2006 21:49:32 GMT
Author: clr
Date: Tue Aug  8 14:49:31 2006
New Revision: 429837

URL: http://svn.apache.org/viewvc?rev=429837&view=rev
Log:
JDO-401 Set Optimisitic to false to make sure jdoPreClear is called

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java?rev=429837&r1=429836&r2=429837&view=diff
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/instancecallbacks/CallingJdoPreclear.java
Tue Aug  8 14:49:31 2006
@@ -96,6 +96,7 @@
         t.commit();
 
         InstanceCallbackClass.performPreClearTests = true;
+        t.setOptimistic(false);
         t.begin();
         try {
             primaryObj = (InstanceCallbackClass)pm.getObjectById(primaryObjId, true);



Mime
View raw message