Here is the fully updated DBAdapter.java