Menu

manual transactions?

2004-06-22
2004-06-22
  • Nobody/Anonymous

    how do i use manual transactions

    to handle a business process

    like

    begin transaction t
    a.save
    b.save
    c.delete
    t.commit

     
    • Richard Banks

      Richard Banks - 2004-06-22

      dim pb as CPersistenceBroker

      pb.init()
      ....
      try
        pb.startTransaction()
        a.save()
        b.save()
        c.delete()
        pb.commit()
      catch
        pb.rollback()
      end try

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.