Avatar of gudii9
gudii9
Flag 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?
Java EEJavaProgrammingJSP

Avatar of undefined
Last Comment
mccarl

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
mccarl

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy