Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

unit test DAO layer

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?
ASKER CERTIFIED SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial