[sqlalchemy] Re: How to identify a transaction that has already begun

2009-01-03 Thread Jaimy Azle
On Saturday, January 3, 2009, 12:04:54 AM, Michael Bayer wrote: session = sqlalchemy.orm.scoped_session( sqlalchemy.orm.sessionmaker( autoflush=False, autocommit=False ) ) session has an is_active flag

[sqlalchemy] Re: How to identify a transaction that has already begun

2009-01-03 Thread Michael Bayer
On Jan 3, 2009, at 4:55 AM, Jaimy Azle wrote: On Saturday, January 3, 2009, 12:04:54 AM, Michael Bayer wrote: session = sqlalchemy.orm.scoped_session( sqlalchemy.orm.sessionmaker( autoflush=False, autocommit=False )

[sqlalchemy] Re: Convert type from dbapi description

2009-01-03 Thread Michael Bayer
On Jan 3, 2009, at 9:34 AM, Dusty Phillips wrote: On Jan 1, 12:29 pm, Michael Bayer mike...@zzzcomputing.com wrote: the internal location where TypeEngine types that were known before cursor.description was fetched is result.context.result_map. this only applies to SQL expression

[sqlalchemy] Re: mssql wrapper for numeric Datatype.

2009-01-03 Thread Michael Trier
Hi, On Fri, Jan 2, 2009 at 11:56 PM, Jaimy Azle jaimy.a...@gmail.com wrote: On Saturday, January 3, 2009, 7:07:00 AM, Michael Trier wrote: Would it be possible for you to do up a test case demonstrating the problem? If so, we could get to it very quickly. sure, here it is: Corrected

[sqlalchemy] Re: Renaming Columns and Union - possible bug

2009-01-03 Thread Eoghan Murray
On Jan 3, 2:44 am, Michael Bayer mike...@zzzcomputing.com wrote: I've made fixes to corresponding_column() to resolve this issue, and in the process uncovered (and also solved) a whole class of problems in that method which was, to my great surprise, also impacting some very nested Query

[sqlalchemy] Re: Renaming Columns and Union - possible bug

2009-01-03 Thread Michael Bayer
On Jan 3, 2009, at 7:31 PM, Eoghan Murray wrote: On Jan 3, 2:44 am, Michael Bayer mike...@zzzcomputing.com wrote: I've made fixes to corresponding_column() to resolve this issue, and in the process uncovered (and also solved) a whole class of problems in that method which was, to my great