Questions tagged [transactions]
A set of interrelated operations that must all succeed in order for any of them to succeed. Failure of any operation results in a rollback of all operations in the transaction.
transactions
16,326
questions
0
votes
0
answers
14
views
Not Able to Intigrate with Phonepe Qr Code
When phonepe qrcode scan Transaction Note not received Automatic
by default Received "Payment From PhonePe", I want Invoice no is a Transaction Note
Only Phonepe not support other app eg, ...
0
votes
0
answers
14
views
Cannot Create Token ID from Transaction with REST API on CyberSource
I'm having difficulty generating a token ID from the Transaction section on CyberSource sandbox environment via the REST API.
On CyberSource's UI, I can create it through CyberSorce's documentation. ...
0
votes
0
answers
49
views
Is it possible for PHP/PDO/MySQL to perform a transaction on its own? [closed]
I have ZERO transaction code in my PHP script. That was done on purpose. My application is too simple to need it.
Starting less than a week ago, without any code changes on my part, records written to ...
0
votes
0
answers
18
views
Django - Cannot make a celery worker and test transactions on test file without "You can't execute queries until the end of the 'atomic' block." error
Soo, here's the deal, Im creating a test in order to check if an improvement a made for performance is working or not, the improvements consists in making some signals logic an async task instead of ...
0
votes
0
answers
71
views
Using PHP/PDO/MySQL: Records have started vanishing (literally) without changes to the code [closed]
I assume whoever closed this because it "lacked detail or clarity" didn't actually read the whole thing. Or, perhaps, thought I was just an idiot.
I know, the subject line makes no sense -- ...
0
votes
1
answer
26
views
Does the snapshot isolation level transaction wait for other transactions to complete before it can start working on its own?
If we have ongoing unfinished transactions with any isolation level, does a new transaction with snapshot isolation level wait for their completion before it starts taking a snapshot?
Sorry for My ...
0
votes
1
answer
46
views
Execute a Database Update Operation and Non DB Function inside a Transaction (both-or-none) in Spring Boot
I have a database record update and a Kafka message push, which should be executed in an all-or-none way.
public int UpdateRecord();
public int puahMessageToKafka();
The scenario is,
The deployed ...
0
votes
0
answers
110
views
Why is TONKEEPER not force to MAINNET on Transaction
Why is tonwallet this case tonkeeper not force the transaction to be on mainnet when the transaction network argument has been setted?
this is my code.
import { useTonWallet, useTonAddress, ...
0
votes
2
answers
24
views
global Exception Handler overrules database transaction handler
I am sort of stuck at a particular funny error in a quarkus REST-service that I am currently developing.
My application manages panache entities and I implemented some CRUD operations in a resource ...
1
vote
0
answers
36
views
In go-redis, is it necessary to pass in any `keys` to the `Unwatch()` function?
In tx.go (part of the go-redis library), the Unwatch() function accepts an array of keys as a parameter.
However, I'm wondering if it is necessary to pass in any keys to Unwatch(). The Redis ...
0
votes
0
answers
28
views
Query is not fetching the latest data from MySQL while using FOR UPDATE clauses
I have a table which locks rows as per accountId and a lock status column having values 0 and 1.
CREATE TABLE lock (
id INT(11),
accountId INT(11),
isLocked TINYINT(2),
);
The requirement is ...
0
votes
0
answers
27
views
Confluent Kafka - Transaction Coordinator not running
My team and I are relatively new to Kafka and have had some success running kafka locally via a docker compose file and podman.
One of my colleagues created the compose file, configuring the config ...
0
votes
1
answer
39
views
Is using a big transaction for bulk uploads (of e.g. products) wrong?
I am currently writing the upload process for products in an online shop. During this process, many different and only loosely connected table entries need to be created (e.g. products, categories, ...
-2
votes
0
answers
55
views
How to check the user has paid the correct price with MetaMask
I have webgl build platform that sell products using ethereum and metamask.
Button code in C# is like this:
public void Send50()
{
Price = 50;
StartCoroutine(SendTransaction());
}
Obviously, ...
0
votes
1
answer
34
views
Transactional (mybatis-cdi: org.mybatis.cdi.Transactional) annotation with rollbackOnly=true not rollbacking transactions inside a Weld / JUnit 5 test
I expect this class UserMapperTest.java to run the test rollbacking the transaction (in this case for a simple insert, where the field email is unique, but the core of the problem is about the ...