I\'m using Spring 3.1.1.RELEASE, Hibernate 4.1.0.Final, JPA 2, JUnit 4.8.1, and HSQL 2.2.7. I want to run some JUnit tests on my service methods, and after each test, I wou
Make a @Before method in which you delete all data from database. You are using Hibernate so you can use HQL: delete from Contract.
@Before
delete from Contract