Hi,
I'm using JPA 2.0, Hibernate 4.1.0.Final, Spring 3.1.1.RELEASE, and
JUnit 4.8.1. I'm confused about why a JUnit
test is NOT failing. I have this test
My code for deleting an entity is
Shouldn't the second call to "delete" result in some kind of exception since the entity was removed in the first call? My flush mode is set to AUTO (the default) and below is how I configure my entity manager in my JUnit Spring application context and persistence.xml. Why isn't the second delete call failing?
and here is the persistence.xml file