zopefoundation / zope.sqlalchemy

Integration of SQLAlchemy with transaction management
Other
32 stars 34 forks source link

savepoint support for sqlite #53

Closed dwt closed 4 years ago

dwt commented 4 years ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I did:

I tried to use transaction.savepoint() with sqlite through sqlalchemy.

What I expect to happen:

that it works, since sqlite seems to support savepoint just fine: https://sqlite.org/lang_savepoint.html

What actually happened:

it raised TypeError: ('Savepoints unsupported', <zope.sqlalchemy.datamanager.SessionDataManager object at 0x11dde5f50>)

What version of Python and Zope/Addons I am using:

jamadden commented 4 years ago

Thanks for the report. The proper home for this is in zopefoundation/zope.sqlalchemy. I'll attempt to transfer it.

jamadden commented 4 years ago

Closing as a duplicate of #44