How to Unit test with JUnit frameworks like Mockito etc and test DAO layer without effecting the actual oracle database data. How do i mock and unit test. Is it better to use simple HSQL (or any other sample simple database)as a sample database instead of using real Oracle database?