[sqlalchemy] Re: Sqlalchemy & Stored Procedures

2008-04-09 Thread Madhu Alagu
sql = select([func.add_user_f(xxx)],autocommit=True) session.execute(sql) Thanks Madhu Alagu On Apr 8, 8:07 pm, "Rick Morrison" <[EMAIL PROTECTED]> wrote: > Would you please post the traceback that you're getting with this? > > Note that you don't need the session.begin() and session.flush()

[sqlalchemy] Re: Sqlalchemy & Stored Procedures

2008-04-08 Thread Rick Morrison
Would you please post the traceback that you're getting with this? Note that you don't need the session.begin() and session.flush() with a transactional sessions, the .begin() is implicit and the .flush() will be issued by the .commit() On Tue, Apr 8, 2008 at 1:51 AM, Madhu Alagu <[EMAIL PROTECTE