[Checkins] SVN: z3c.sqlalchemy/trunk/ restored compatibility with SA 0.4.X

Andreas Jung andreas at andreas-jung.com
Fri Sep 5 05:52:23 EDT 2008


Log message for revision 90867:
  restored compatibility with SA 0.4.X
  

Changed:
  U   z3c.sqlalchemy/trunk/CHANGES.txt
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py

-=-
Modified: z3c.sqlalchemy/trunk/CHANGES.txt
===================================================================
--- z3c.sqlalchemy/trunk/CHANGES.txt	2008-09-05 09:13:58 UTC (rev 90866)
+++ z3c.sqlalchemy/trunk/CHANGES.txt	2008-09-05 09:52:22 UTC (rev 90867)
@@ -1,3 +1,8 @@
+1.3.5 (05.09.2008)
+------------------
+
+  - restored compatibiltiy with SA 0.4.X
+
 1.3.4 (04.09.2008)
 ------------------
 

Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py	2008-09-05 09:13:58 UTC (rev 90866)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/base.py	2008-09-05 09:52:22 UTC (rev 90867)
@@ -134,7 +134,7 @@
     def _createEngine(self):
         self._engine = create_engine(self.dsn, **self.engine_options)
         self._sessionmaker = scoped_session(sessionmaker(bind=self._engine, 
-                                            autocommit=False, 
+                                            transactional=True,
                                             autoflush=True, 
                                             extension=ZopeTransactionExtension(**self.extension_options),
                                             **self.session_options



More information about the Checkins mailing list