# File lib/og/connection.rb, line 249
        def transaction(&block)
                begin
                        @db.start
                        yield(@db) 
                        @db.commit
                rescue => ex
                        Logger.error "DB Error: ERROR IN TRANSACTION"
                        Logger.error #{ex}
                        Logger.error #{ex.backtrace}
                        @db.rollback
                end
        end