def _read(self, request, parameters=None):
    with self._conn as conn:
        try:
            c = conn.cursor()
            if (parameters is None):
                c.execute(request)
            else:
                c.execute(request, parameters)
            return c.fetchall()
        except Exception as ex:
            DAOException(self, ex)
def _read(self, request, parameters=None):
    with self._conn as conn:
        try:
            c = conn.cursor()
            if (parameters is None):
                c.execute(request)
            else:
                c.execute(request, parameters)
            return c.fetchall()
        except Exception as ex:
            DAOException(self, ex)