Author: kwsutter
Date: Tue Mar 22 17:27:05 2011
New Revision: 1084262
URL: http://svn.apache.org/viewvc?rev=1084262&view=rev
Log:
Comment update in the Image Gallery test case...
Modified:
openjpa/branches/2.1.x/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
Modified:
openjpa/branches/2.1.x/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
URL:
http://svn.apache.org/viewvc/openjpa/branches/2.1.x/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java?rev=1084262&r1=1084261&r2=1084262&view=diff
==============================================================================
---
openjpa/branches/2.1.x/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
(original)
+++
openjpa/branches/2.1.x/openjpa-examples/image-gallery/src/test/java/org/apache/openjpa/example/gallery/TestJPAValidation.java
Tue Mar 22 17:27:05 2011
@@ -102,7 +102,7 @@ public class TestJPAValidation extends j
System.out.println("validation exception upon removal");
img.setType(null);
em.remove(img);
- em.getTransaction().commit();
+ em.getTransaction().commit(); // never gets this far... fails on
the remove()
fail();
} catch (ConstraintViolationException cve) {
// Rollback the active transaction and handle the exception