db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r426928 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
Date Sun, 30 Jul 2006 20:03:27 GMT
Author: clr
Date: Sun Jul 30 13:03:27 2006
New Revision: 426928

URL: http://svn.apache.org/viewvc?rev=426928&view=rev
Log:
JDO-400 Set transaction type to datastore explicitly so instance read becomes transactional

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java?rev=426928&r1=426927&r2=426928&view=diff
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
(original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/api/jdohelper/IsTransactionalFalse.java
Sun Jul 30 13:03:27 2006
@@ -68,6 +68,7 @@
     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