[sqlalchemy] Re: Session Problem

2007-07-31 Thread robertz23
Thanks Michael and Paul, you're are both right. I fixed my problem thanks to you. I think it's better if somebody include this patch in future versions. Thanks again, Roberto Zapata On Jul 30, 7:27 pm, Paul Johnston <[EMAIL PROTECTED]> wrote: > Hi, > > This is TurboGears ticket #1419http

[sqlalchemy] Re: Session Problem

2007-07-30 Thread Paul Johnston
Hi, This is TurboGears ticket #1419 http://trac.turbogears.org/ticket/1419 A fix is in version 1.0.3.2. Paul robertz23 wrote: > Hi, I'm making a project using TurboGears with SqlAlchemy. The >problem that I think I have is when I make some changes to the DB with >the webservice I'm maki

[sqlalchemy] Re: Session Problem

2007-07-30 Thread Michael Bayer
On Jul 30, 2007, at 2:03 PM, robertz23 wrote: > > Yes, I'm making the flush() when I need to save the data. The problem > is when I try to see it, I mean, make like a select, > creating the object and accessing its fields. > > Sometimes, my webservice gives me the value that I had before and >

[sqlalchemy] Re: Session Problem

2007-07-30 Thread robertz23
do you know how can I accomplish this? Regards, Roberto Zapata On Jul 30, 2:03 pm, robertz23 <[EMAIL PROTECTED]> wrote: > Yes, I'm making the flush() when I need to save the data. The problem > is when I try to see it, I mean, make like a select, > creating the object and accessing its fields.

[sqlalchemy] Re: Session Problem

2007-07-30 Thread robertz23
Yes, I'm making the flush() when I need to save the data. The problem is when I try to see it, I mean, make like a select, creating the object and accessing its fields. Sometimes, my webservice gives me the value that I had before and sometimes, when I refresh the page several times it changes t

[sqlalchemy] Re: Session Problem

2007-07-30 Thread Michael Bayer
On Jul 30, 2007, at 12:34 PM, robertz23 wrote: > > Hi, I'm making a project using TurboGears with SqlAlchemy. The > problem that I think I have is when I make some changes to the DB with > the webservice I'm making or directly using MySQL shell. What happens > next is that sometimes when