Hi,

I am porting our pylons app from 0.4.5 to 0.5.

It appears that implicit queries are using a new connection instead of
re-using the existing one that is also used by the ORM Session.

I have read the Migration Docs and looked at the changelog and didn't
find anything related to this matter.

To avoid opening many connections or to re-use a transaction handle, I
had to rewrite code such as this

from:

   s = select(....)
   dbsession.query(Model).instances(s.execute())


to:

  s = select(....)
  list(dbsession.query(Model).instances(dbsession.execute(s)))

Is this change expected or is it an indication of an error somewhere?

Thanks,

Bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to