db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r426844 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteTest.java
Date Sat, 29 Jul 2006 22:02:16 GMT
Author: mbo
Date: Sat Jul 29 15:02:16 2006
New Revision: 426844

URL: http://svn.apache.org/viewvc?rev=426844&view=rev
Log:
JDO-399: Missing transaction begin in NontransactionalWriteTest

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteTest.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteTest.java?rev=426844&r1=426843&r2=426844&view=diff
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteTest.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/lifecycle/NontransactionalWriteTest.java
Sat Jul 29 15:02:16 2006
@@ -153,6 +153,7 @@
         PersistenceManager pmConflict = pmf.getPersistenceManager();
         try {
             pmConflict.currentTransaction().setOptimistic(false);
+            pmConflict.currentTransaction().begin();
             VersionedPCPoint instance = 
                 (VersionedPCPoint)pmConflict.getObjectById(oid);
             instance.setX(conflictXValue);



Mime
View raw message