I\'ve met a scenario: save or update some data in a target table by hibernate there is a trigger on the target table which will be executed before insert or update operations of the target table
I get the following exception when I run the following code at line EntityScope<TQFormContext>.CurrentObjectContext.SaveChanges();
I have a table like this mysql> describe seudonimos; +--------------+------------------+------+-----+---------+----------------+
I am currently having a block like below. So with this we set autocommit off and and doa commit/rollback. Now at the rollback line , we are getting a failure saying that \"rollback ineffective with Au
If I use .Net System.Transactions.TransactionScope class for a transaction across multiple tables in Oracle database, which one will be used LTM[Lightweight transaction manager] or MSDTC[Microsoft dis
I want to destroy all the questions to do with a particular user. Some questions are protected though and may prevent themselves from being destroyed and raise an exception.
I am experimenting with CDI on a test application. I have a DAO which injects a container managed JTA persistence context like this:
I have read that transactions are atomic in MySQL (InnoDB) but when I test the next code in 5 threads they select the same ID:
A large SQL Server 2008 table is normally being updated in (relatively) small chunks using a SNAPSHOT ISOLATION transaction. Snapshot works very well for those updates since the chunks never overlap.
We meet an scenario that works with multi thread. In the main Thread, do some logic and update the database, in a point, it will call another service to update database, which is run in another Threa