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
add @Rollback on your Test class-level
@Rollback
add @Transactional(value = "your_ManagerName",rollbackFor = Exception.class) on your test method
@Transactional(value = "your_ManagerName",rollbackFor = Exception.class)