You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2021/05/07 23:12:10 UTC

[db-jdo] 28/43: JDO-400: merged trunk change into branch 2.0.1

This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch origin/2.0.1
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit 0914e35e7c2c132e4bb9edf4236298f2dba23326
Author: Michael Bouschen <mb...@apache.org>
AuthorDate: Tue Oct 3 21:27:20 2006 +0000

    JDO-400: merged trunk change into branch 2.0.1
---
 .../src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java b/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
index 013d03c..e98c287 100644
--- a/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
+++ b/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
@@ -68,6 +68,7 @@ public class IsTransactionalFalse extends JDO_Test {
     public void testIsTransactionalFalse() {
     	pm = getPM();
     	Transaction tx = pm.currentTransaction();
+        tx.setOptimistic(false);
     	tx.begin();
     	PCPoint p1 = new PCPoint(1,3);
     	pm.makePersistent(p1);