You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by jr...@apache.org on 2011/02/02 04:09:57 UTC
svn commit: r1066316 -
/openjpa/trunk/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
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