you can do db.commit() to commit before the autocommit

On Nov 7, 10:10 am, Jiff <[EMAIL PROTECTED]> wrote:
> Used C, but stopped pgming for years...
> web2pY 1.47
> Debian sid
> very low connection, so please, if poss. cc me also (got a better one
> at my friend's home)
> ==================================
>
> Hi folks,
>
> Is there a manner to temporarily stop the autocommit in order to
> begin/
> commit transactions by my own?
> (ie: I'm developing a small ERP: I've some records (lines) linked to a
> header (document) by a many2many table; when I transform an
> order to an invoice, I want to make sure that the many2many records
> has been entirely duplicated (for the lines side, of course :), so I
> could
> find back all my order's lines in the invoice.  If it is not the case,
> I want
> DB to rollback, not leaving a half-copy living.)
>
> What is the safe manner to shutdown a web2py production server ?(lets
> say we shutdown because UPS is about to be empty)
>
> I'd also like to know if I can run a production web2py server from
> its
> intrinsic web server, or am I obliged to use Apache or Lighhtp (doc's
> insn't
> quite clear about this)
>
> Thanks
>
> Jean-Yves
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to