Using DB adapter to read from a database table