openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jrba...@apache.org
Subject svn commit: r1066316 - /openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
Date Wed, 02 Feb 2011 03:09:57 GMT
Author: jrbauer
Date: Wed Feb  2 03:09:56 2011
New Revision: 1066316

URL: http://svn.apache.org/viewvc?rev=1066316&view=rev
Log:
Remove extraneous TX commit in test variation

Modified:
    openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java

Modified: openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java?rev=1066316&r1=1066315&r2=1066316&view=diff
==============================================================================
--- openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
(original)
+++ openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
Wed Feb  2 03:09:56 2011
@@ -102,7 +102,6 @@ public class TestJPAValidation extends j
             System.out.println("validation exception upon removal");
             img.setType(null);
             em.remove(img);
-            em.getTransaction().commit();
             fail();
         }  catch (ConstraintViolationException cve) {
             // Rollback the active transaction and handle the exception



Mime
View raw message