Update DBTest.java

Fix build failed for jdk 1.6
Merge pull request #1 from dawnbreaks/patch-1

Update DBTest.java