Added more implementation for DBAdapter