[sqlalchemy] Re: sqlalchemy and informixdb

2009-10-21 Thread goschtl
execute_save_steps > > > >     self.save_objects(trans, task) > > > >   File "/usr/lib/python2.6/site-packages/SQLAlchemy-0.5.6-py2.6.egg/ > > > > sqlalchemy/orm/unitofwork.py", line 759, in save_objects > > > >     task.mappe

[sqlalchemy] Re: sqlalchemy and informixdb

2009-10-20 Thread goschtl
On 20 Okt., 17:11, "Michael Bayer" wrote: > goschtl wrote: > > > Hello SQLAlchemy, > > > i am new to sqlalchemy, i currently work on project which > > needs sqlalchemy/informix integration. > > > Maybe someone can have a look on this: >

[sqlalchemy] sqlalchemy and informixdb

2009-10-20 Thread goschtl
Hello SQLAlchemy, i am new to sqlalchemy, i currently work on project which needs sqlalchemy/informix integration. Maybe someone can have a look on this: >>> session = Session() >>> session >>> from sqlalchemy import MetaData >>> metadata = MetaData(session.connection()) >>>

[sqlalchemy] Connecting SA to an iSeries DB2 with pyodbc

2008-09-30 Thread goschtl
Hi, i try to connect with SA to an iSeries DB2 Database. I use the pyodbc python module for this. This piece of code is working: - import pyodbc conn = pyodbc.connect('DSN=AS400') curs = conn.cursor() curs.execute('select count(edokimp_