changed AbstractDAO.