transactions
Is it a BAD idea to have a static connection and transaction for a Unit Test Fixture?
I plan to create static private variables for SqlConnection and SqlTransaction which I plan to create in [ClassInitialize()] signed method and then dispose in [ClassCleanup] signed methods.[详细]
2023-04-07 10:16 分类:问答Npgsql does not commit transaction after failed command
I\'m using Npgsql 2.0.11 under .NET 4.0 to modify a PostgreSQL 9.0 database. The program makes many modifications to the database, all within a single transaction.[详细]
2023-04-07 03:14 分类:问答What's the case that requires nested transaction?
Even a transaction is nested, it won\'t be updated until outmost transaction commits. So what\'s the meaning of nested transaction and what\'s the specific situation that requires the feature?开发者_运[详细]
2023-04-06 22:54 分类:问答transactional open/write/replace in .NET?
I am thinking maybe i should res开发者_如何学运维trict it to 8k. I\'d like to open a file and write from start to end everytime. However if for some reason (say power outage) it doesnt complete i do n[详细]
2023-04-06 22:05 分类:问答SQL Transaction Error: The current transaction cannot be committed and cannot support operations that write to the log file
I\'m having a similar issue to The current transaction cannot be committed and cannot support operations that write to the log file, but I have a follow-up question.[详细]
2023-04-06 17:45 分类:问答Entity Framework 4 Transaction Scope
I am running 2 INSERTS inside a function. The first one is a non-entity framework INSERT (AD0.NET). The second one is an EntityContext.SaveChanges()[详细]
2023-04-06 17:33 分类:问答How should I implement Transaction database EJB 3.0
In the CustomerTransactions entity, I have the following field to record what the customer bought: @ManyToMany[详细]
2023-04-06 12:59 分类:问答Use one SQL Connection with multiple transactions
I have a vb.net web app and I am passing a SQL connection and a transaction to a method which writes a single record to the database.[详细]
2023-04-06 08:40 分类:问答autonomous_transaction in trigger and constraint violation
I\'ve encountered an interesting situation experimenting with the autonomous_transaction. Consider the following situation (please note it\'s is not intended to be written this way: just proof of conc[详细]
2023-04-06 08:36 分类:问答Java Oracle Transaction
I want to insert data into a database into different tables. Because of constraints I have to do this in a specific order. That means, first insert into table a, then b, then c , .... and no mixing of[详细]
2023-04-06 08:13 分类:问答