Home > Back-end >  Update the partial success, partial failure
Update the partial success, partial failure

Time:12-19

The same transaction, updates, partly successful, part library of failure, have met this kind of question? Article 1500 records, 50 a request, update is single,

Library failed, called again, and succeeded

CodePudding user response:

What is your this transaction specific concept? You will all succeed or all fail, need is the database transaction at a time, that is to open a connection to commit, if it's not a database transaction commit for several times

CodePudding user response:

Your transaction has no effect, must first wrote in the public methods, in addition you see transactionManager configuration

CodePudding user response:

The info (" isActualTransactionActive () : {} ", TransactionSynchronizationManager. IsActualTransactionActive ());

Confirm the transaction have any effect

CodePudding user response:

A request of operation in order to be in the same transaction, called multiple times, it is not the same transaction
  • Related