1. Hibernate Unit tests - Reset schema stackoverflow.comI'm testing the CRUD operations of my DAOs in JUnit tests. When i execute the single test, Hibernate always resets the schema and populates the DB in a known state. But ... |
2. Hibernate - JUnit - SchemaExport forum.hibernate.orgHi, I'm writing some integrations tests in JUnit. What happens here is that when i run all the tests together in a row (and not separately), the data persisted in the database always changes and the tests find unexpected data (inserted by the previous test) during their execution. So I created a @Before method in my base test class to drop ... |