Remove duplication in PdoAdapter