Skip to main content
The 2024 Developer Survey results are live! See the results

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.

-2 votes
1 answer
45 views

Excel VBA code to Sum the debit up values when credit happen

I'm having excel sheet with debit transaction and Credit transaction in specific dates, I want VBA code to sum the previous debit transaction when Credit transaction occur and reconcile the amount if ...
Ahmed EL HAWARY's user avatar
0 votes
0 answers
6 views

Transaction signature verification failure - @solana/web3.js

I have a small problem. I have a ready v0 transaction that was signed by a remote wallet. I need to sign this transaction as well, which I am doing: tx.sign([keyPair]); Then, when the transaction is ...
Gura's user avatar
  • 21
-3 votes
0 answers
20 views

Real world use-case of transaction rollback

I understand concepts of "commit" and "rollback" in transactions. Transaction commits are fairly easy to understand and that is something we do everyday. However so far I have ...
johngreen's user avatar
  • 2,728
1 vote
2 answers
89 views

Writing atomic functions in Python

In many systems, transactions are used to group operations together so that they are atomic—meaning they either all succeed or all fail. However, in Python itself does not seem to have built-in ...
Yasin Amini's user avatar
0 votes
1 answer
23 views

Does using a transaction for read queries provide benefits under Read Committed Isolation Level in PostgreSQL?

I'm using Prisma with PostgreSQL. As I read about the transaction isolations in PostgreSQL, I wondered if I am using transactions without any benefits or if I understood the subject correctly. async ...
iRestMyCaseYourHonor's user avatar
0 votes
0 answers
12 views

Kafka enable.idempotence and Transaction API

Does Kafka require enabling idempotence for the producer running in a transaction? putting in another way, does the transaction API comes with idempotency out of band or an explicit enabling is ...
Sarwan Surchi's user avatar
0 votes
1 answer
29 views

Postgres serializable isolation level confusion

I'm learning about database isolation levels and I'm attempting to walk through an example of when the serializable isolation level would cause concurrent transactions to error. I have come up with ...
JackG's user avatar
  • 13
1 vote
1 answer
31 views

How to dynamically assign TransactionalManager for multiple datasources in Spring boot

Say, I have configured 5 DataSources in my Spring application. Each of those connections have also created a matching bean of type TransactionalManager. When I declare a @Service annotated classes ...
Stefan Jankovic's user avatar
0 votes
1 answer
52 views

Do I need a Transaction here or am I fine with just a Lock?

I have this table: create_table :api_usages do |t| t.references :api_key, null: false, foreign_key: true t.date :billing_date, null: false t.integer :request_count, null: false t.timestamps ...
Ben G's user avatar
  • 26.5k
0 votes
0 answers
32 views

How to get correctly sign Solana transaction using PHP Laravel?

I'm using getblock.io as a node for Solana network and I'm trying to sign a transaction and send it through that node in Laravel, but I'm facing a problem with the serialization of the transaction ...
Mustafa Hashim's user avatar
0 votes
0 answers
21 views

Read one table write to another data race SQL solution

I'm currently learning about database transactions, isolation levels, and SQL in general. I've thought up a problem which involves a potential data race and can't seem to figure out the solution ...
JackG's user avatar
  • 13
0 votes
1 answer
19 views

What isolation level for select query: 'snapshot' vs 'read uncommitted'

It is true that the for select query 'read uncommitted' isolation level is fester then 'snapshot'? Both case do not respect object locking and results will be the same for select query? Sorry for My ...
user1785960's user avatar
0 votes
0 answers
25 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, ...
Pravin Pawar's user avatar
0 votes
0 answers
24 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. ...
3488 Thái Thanh Tuấn's user avatar
0 votes
0 answers
64 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 ...
David Lee Crites's user avatar

15 30 50 per page
1
2 3 4 5
1089