def begin(self, style=None):
        self.headers, self.results = [], []
        if style:
            c = self.db.cursor(style)
        else:
            c = self.db.cursor()
        if __OS__ == 'java':
            if hasattr(self, 'datahandler'):
                for dh in self.datahandler:
                    c.datahandler = dh(c.datahandler)
        else:
            c = mxODBCProxy(c)
        return c
reset ivars and return a new cursor, possibly binding an auxiliary datahandler
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/dbexts.py/dbexts.begin