[Twisted-web] Twisted and SQLAlchemy Cache Problem

Magnus Hult magnus at spotify.com
Wed Jun 13 10:59:28 EDT 2007


On 6/13/07, Manlio Perillo <manlio_perillo at libero.it> wrote:

> The problem can be this:
> http://www.sqlalchemy.org/docs/documentation.html#unitofwork_identitymap
>
> After the first "select" you do not reset the Unif Of Work.

Yes, that seems to be the problem. For this my tiny problem, I can get
away by simply not using activemapper, though.

mytable.select().execute(id=1)
mytable.select().execute(id=1)

yields two select statements towards the database, just as I want it.

Thanks!



More information about the Twisted-web mailing list