Top "Transactions" questions

A set of interrelated operations that must all succeed in order for any of them to succeed.

TransactionScope vs Transaction in LINQ to SQL

What are the differences between the classic transaction pattern in LINQ to SQL like: using(var context = Domain.Instance.GetContext()) { …

c# linq linq-to-sql transactions
Using "GO" within a transaction

I'm building a web app that attempts to install/upgrade the database on App_Start. Part of the installation procedure …

.net sql sql-server tsql transactions
TSQL Try / Catch within Transaction or vice versa?

I'm writing a script that will delete records from a number of tables, but before it deletes it must return …

sql-server tsql transactions sql-delete
When do I use save!, create! and update_attributes! in Rails?

I'm trying to figure out when to use the bang! versions for saving and updating records? I've read and heard …

ruby-on-rails activerecord transactions
How to use transactions with dapper.net?

I would like to run multiple insert statements on multiple tables. I am using dapper.net. I don't see any …

c# transactions dapper
Node.js 7 how to use sequelize transaction with async / await?

Node.js 7 and up already support async/await syntax. How should I use async/await with sequelize transactions?

transactions sequelize.js
Transactions in NoSQL?

I'm looking into NoSQL for scaling alternatives to a database. What do I do if I want transaction-based things that …

transactions nosql
Starting new transaction in Spring bean

We have: @Transactional(propagation = Propagation.REQUIRED) public class MyClass implementes MyInterface { ... MyInterface has a single method: go(). When go() executes …

java spring transactions
mysql transaction - roll back on any exception

Is it possible to roll back automatically if any error occurs on a list of mysql commands? for example something …

mysql transactions rollback
Cannot access SqlTransaction object to rollback in catch block

I've got a problem, and all articles or examples I found seem to not care about it. I want to …

c# sql transactions ado.net rollback