[sqlalchemy] Session Problem

2007-07-30 Thread robertz23
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 I refresh the page it shows me the value I had before

[sqlalchemy] Re: Session Problem

2007-07-30 Thread robertz23
, Michael Bayer [EMAIL PROTECTED] wrote: 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

[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: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-22 Thread robertz23
Sorry for the delay. Thanks for helping me. It was a driver problem. I've solved this problem. Thanks everybody for the help. regards, Roberto Zapata On Jul 13, 3:57 pm, Michael Bayer [EMAIL PROTECTED] wrote: On Jul 13, 2007, at 3:41 PM, robertz23 wrote: Thanks for the answers. I've

[sqlalchemy] PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-13 Thread robertz23
Hi, I've been using SQLAlchemy since a month. I'm having some problems with a one-to-many relationship. I have 2 tables: one for users and one for users's emails. The problem arises when I want to put a timestamp in the email table in order to see when a given account was created. Here

[sqlalchemy] Re: PROBLEMS WITH TIMESTAMP variable in MySql

2007-07-13 Thread robertz23
here (though i doubt it, its a very basic example). On Jul 13, 2007, at 9:53 AM, robertz23 wrote: Hi, I've been using SQLAlchemy since a month. I'm having some problems with a one-to-many relationship. I have 2 tables: one for users and one for users's emails. The problem arises