db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject [db-jdo] 28/43: JDO-400: merged trunk change into branch 2.0.1
Date Fri, 07 May 2021 23:12:10 GMT
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 <mbo@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);

Mime
View raw message