The short answer is that
JUnit testing is usually done without a database as you want these tests to be atomic, easy to set up and fast to execute. I use EasyMock to mock out objects which make calls outside my application, eg database, web service, legacy system.
When you subsequently do system, integration or user acceptance testing, you will need a test database.