leh...@cnm.de
unread,Sep 18, 2012, 1:14:23 PM9/18/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sqlal...@googlegroups.com
Hello,
the Python DB-API 2.0 driver 'sqlanydb' for SQL Anywhere works fine and I'd like to use the SQLAlchemy connection pool within Pyramid. Unfortunately, SQLAlchemy doesn't let me use sqlanydb.
Actually, I don't need any ORM stuff for the start, but if its required, the mssql dialect should be pretty close to SQL Anywhere. But using create_engine() with special connect_args for sqlanydb doesn't work and using the creator=<callback> parameter doesn't work either. I always get "No module named pyodbc" because the dialects mssql and sybase seem to default to pyodbc.
Why isn't it possible to use just any DB-API compliant database driver?
I also read a post which claimed, that until SQLAlchemy 0.5 there was a driver for sqlanydb included, but I couldn't find one in that release. It would be very bad if I had to resign from using SQLAlchemy, but I have no choice in the database driver. I'm also not that much into SQLAlchemy to write an own driver and dialect, but I'm happy to run a test suite on a current SQL Anywhere database if someone else does.
Kind regards
Marten