I\'m running a simple JUnit test agains an application DAO. The problem is that I always get:
javax.persistence.RollbackException: Transaction marked as roll
Just add annotation Rollback and set the flag to false.
@Test @Rollback(false)