[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/ support
for ZODB savepoints
Andreas Jung
andreas at andreas-jung.com
Wed Feb 13 08:53:56 EST 2008
Log message for revision 83796:
support for ZODB savepoints
Changed:
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt
-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt 2008-02-13 12:14:58 UTC (rev 83795)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/CHANGES.txt 2008-02-13 13:53:55 UTC (rev 83796)
@@ -1,3 +1,8 @@
+1.1.1 (13.02.2008)
+-------------------
+
+ - the SessionDataManager now supports ZODB savepoints
+
1.1.0 (17.01.2008)
-------------------
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py 2008-02-13 12:14:58 UTC (rev 83795)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py 2008-02-13 13:53:55 UTC (rev 83796)
@@ -22,7 +22,7 @@
from z3c.sqlalchemy.mapper import LazyMapperCollection
import transaction
-from transaction.interfaces import IDataManager
+from transaction.interfaces import ISavepointDataManager
class SynchronizedThreadCache(object):
@@ -157,7 +157,7 @@
class SessionDataManager(object):
""" Wraps session into transaction context of Zope """
- implements(IDataManager)
+ implements(ISavepointDataManager)
def __init__(self, connection, session, id, transactional=True):
@@ -223,8 +223,10 @@
self.connection = None
connection_cache.remove(self._id)
+ def savepoint(self):
+ """ empty implementation """
+ pass
-
class ZopeBaseWrapper(BaseWrapper):
""" A wrapper to be used from within Zope. It connects
the session with the transaction management of Zope.
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt 2008-02-13 12:14:58 UTC (rev 83795)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/version.txt 2008-02-13 13:53:55 UTC (rev 83796)
@@ -1 +1 @@
-1.1.0
+1.1.1
More information about the Checkins
mailing list