pyodbc Windows

0 views
Skip to first unread message

justmike

unread,
Oct 24, 2009, 1:40:34 AM10/24/09
to pyodbc
I am using pyodbc along with SQL Alchemy in my current python
project. I am running into a strange issue. When I try to flush a
session, no data is added however on other databases (SQL-Lite, MySQL)
everything inserts perfectly. I played around and did added the
following:

#before
def getsession():
return Session

#after
def getsession():
metadata.create_all()
return Session

and data inserts....

Python 2.6 and pydbc 2.1.6 Windows XP

Any ideas?

mkleehammer

unread,
Oct 30, 2009, 11:38:43 AM10/30/09
to pyodbc
I was hoping someone would have an answer for you by now. Have you
asked this in the SQL Alchemy groups?
Reply all
Reply to author
Forward
0 new messages