Implementation of DBConnection