6 May 22:57
Re: better way to manually commit changes to database....?
From: Jorge Vargas <jorge.vargas <at> gmail.com>
Subject: Re: better way to manually commit changes to database....?
Newsgroups: gmane.comp.python.sqlobject
Date: 2008-05-06 20:57:50 GMT
Subject: Re: better way to manually commit changes to database....?
Newsgroups: gmane.comp.python.sqlobject
Date: 2008-05-06 20:57:50 GMT
On Tue, May 6, 2008 at 2:53 PM, <chris <at> seberino.org> wrote: > In my TurboGears/SQLObject app, I manually commit changes to the database > with a line like the following... > please don't use misleading statements. the only reason you are using it this way is because you are running the changes from a scheduled task. > MyObject._connection.commit() > > It works but looks ugly since _connection is "private variable" that should not > be accessed right? > please suggest another way. > Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > sqlobject-discuss mailing list > sqlobject-discuss <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
RSS Feed