About 3,130,000 results
Open links in new tab
  1. What is the use of @Transactional with JPA and Hibernate?

    Jan 23, 2019 · @Transactional annotation is used when you want the certain method/class(=all methods inside) to be executed in a transaction. Let's assume user A wants to transfer 100$ to …

  2. t sql - When to use Transactions in SQL Server - Stack Overflow

    Feb 17, 2012 · Transaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions), Consistent (data is either committed or roll back, no “in …

  3. Correct use of transactions in SQL Server - Stack Overflow

    Apr 14, 2012 · If one wants a "visually nested syntax" so to say, i.e. such that begin transaction is nested under begin try, then a condition should be added before rollback transaction, which is: …

  4. How to rollback or commit a transaction in SQL Server

    Feb 22, 2013 · The good news is a transaction in SQL Server can span multiple batches (each exec is treated as a separate batch.) You can wrap your EXEC statements in a BEGIN …

  5. c# - Transactions in .net - Stack Overflow

    The alternative is an ambient transaction; new in .NET 2.0, the TransactionScope object (System.Transactions.dll) allows use over a range of operations (suitable providers will …

  6. What is the difference between a query and transaction in SQL?

    Apr 23, 2021 · BEGIN TRANSACTION: Tell the database that a transaction is beginning. All changes within the transaction are invisible to other users while the transaction is "active". …

  7. What does a transaction around a single statement do?

    Jul 23, 2009 · BEGIN TRANSACTION / COMMIT "extends" this locking functionality to the work done by multiple statements, but it adds nothing to single statements. However, the database …

  8. How do I enable MSDTC on SQL Server? - Stack Overflow

    In the console tree, click to expand Component Services, click to expand Computers, click to expand My Computer, click to expand Distributed Transaction Coordinator and then click Local …

  9. Spring @Transactional - isolation, propagation - Stack Overflow

    Dec 13, 2011 · Transaction isolation: Spring allows you to specify the isolation level of your transactions, so you can ensure that they are isolated from other concurrent transactions. In …

  10. How do I use transaction with oracle SQL? - Stack Overflow

    Feb 3, 2016 · SET TRANSACTION ISOLATION LEVEL READ COMMITTED - but the transaction will be physically created when first row is modified, not when this statement is executed. or. …