throw PDOException in getObjectQuery