transactions
Inner transaction changes not visible to outer transaction
I\'m using Spring3+JPA+Hibernate. I\'ve tried to keep structure of the example similar to my actual code structure. Please scroll to the bottom for the actual question. Zipped maven project can be dow[详细]
2023-04-11 17:54 分类:问答Rolling back previously committed transaction
In the service I a开发者_JAVA百科m currently developing I need to provide a twofold operation: The request being made should be registered in the database (using Register() method); and[详细]
2023-04-11 15:28 分类:问答What are the conditions for encountering a serialization failure in PostgreSQL?
The PostgreSQL manual page on the Serializable Isolation Level states: [Like] the Repeatable Read level, applications using this level must be prepared to retry transactions due to serialization fai[详细]
2023-04-11 15:09 分类:问答How to avoid 'Transaction managed block ended with pending COMMIT/ROLLBACK' error across methods
I have a situation where I have applied the @transaction.commit_manually decorator to a method in which I am importing information passed back in an http request response.I need to control committing[详细]
2023-04-11 11:28 分类:问答How does transactions (in MySQL for me) behaves when are ran concurrently?
Here is my scenario: I have table A, that has 4 rows (id, col1, col2, col3) with a UNIQUE index put on the last 3 rows (id is primary key). Lets suppose there are 2 users: user Foo and user Bar.[详细]
2023-04-11 08:22 分类:问答Write operations are not allowed in read-only mode (FlushMode.MANUAL):
Grails 1.3.7 We have a service method that merges 2 users.There are quite a few pieces to this because of the amount of data so that is quite a bit of reading, updating, and writing.We have transacti[详细]
2023-04-11 05:29 分类:问答How do you create a function with code blocks that wrap around commonly used code?
I have a do...while loop and a try...catch block that wraps around database centric code. The do...while and try...catch serves the purpose of preventing transaction deadlocks, and it does so very wel[详细]
2023-04-11 05:20 分类:问答Is it possible to set TRANSACTION ISOLATION LEVEL SNAPSHOT automatically?
because i\'ve recognized locks on tables that are queried simultaneously, i\'ve decided to enable ISOLATION LEVEL SNAPSHOT that was new to me.[详细]
2023-04-11 03:59 分类:问答oledbtransaction & oledbconnection lifetime
i\'m doing an application in asp.net using a class stack of my authorship to abstract some complexity of the database and the interaction in it is done using 1 connection among all the classes; consta[详细]
2023-04-11 01:23 分类:问答If PHP's mysql extension supposedly does not support transactions like mysqli, why do I see people using it for transactions online?
I was reading about mysql transactions and I was under the impression that you had to use either mysqli or PDO in order to create transactions.However, I see all over stack exchange and other sites ex[详细]
2023-04-10 19:04 分类:问答