def begin_twophase(self, xid=None):
return self.session.begin_twophase(xid=xid)
-
+
+ def begin_nested(self):
+ raise NotImplementedError("SAVEPOINT transactions with the 'threadlocal' strategy")
+
def close(self):
if self.__opencount == 1:
base.Connection.close(self)
def begin_twophase(self, **kwargs):
return self.session.begin_twophase(**kwargs)
+
+ def begin_nested(self):
+ raise NotImplementedError("SAVEPOINT transactions with the 'threadlocal' strategy")
def begin(self, **kwargs):
return self.session.begin(**kwargs)