Skip to main content

Questions tagged [transactions]

A transaction is a set of operations that must all succeed; failure in any of the operations results in a rollback, such that none of the operations takes effect. (For questions about financial transactions that do not have this all-or-nothing property, use the [finance] tag instead.)

1 vote
1 answer
109 views

So, in this example I have to make these changes in my tables: Select Product Data => SKU, QTY Insert into shipping_back table Update in shipping_back to current date Update in customers to ...
kviktor1230's user avatar
4 votes
2 answers
235 views

This is my first time using commit and rollback. I just need to know if this is a proper execution of the functions for this particular situation: ...
John Beasley's user avatar
2 votes
0 answers
45 views

I am trying to do multiple queries in one call, so I organized my code as below: ...
user190457's user avatar
1 vote
0 answers
841 views

I'm trying to implement a SQL transaction management in Node.js, that would append queries to an existing transaction if available, or create a new one if none exists yet, thanks to an optional ...
sp00m's user avatar
  • 111
1 vote
1 answer
2k views

I have made a class which is a thread-safe implementation supporting Deposit, Withdrawal, Check Balance Querying and Transferring of money. I have a class Account: ...
Jim's user avatar
  • 21
1 vote
1 answer
946 views

I have been typically adding the @transaction.atomic decorator to my endpoints and appreciate if a request fails at any point the data completely rolls back. However, some of my endpoints will make ...
Jonathan Veit's user avatar
1 vote
0 answers
2k views

I am not very experienced in Entity Framework, I previously used ADO.Net and Dapper for data persistence. For now, I only read Microsoft docs and watched a few video tutorials. I tried to stick to ...
ibubi's user avatar
  • 131
1 vote
0 answers
3k views

It is about Stack of numbers, that can have transaction. If you begin transaction, you need to commit it in order to actually add numbers to stack. Transactions can be nested. ...
Vlada's user avatar
  • 19

15 30 50 per page