You just have to encapsulate your code block in a callback class that implements the TransactionCallback interface and pass it to the Transactio

Hoàng Minh An

New member
You just have to encapsulate your code block in a callback class that implements the TransactionCallback interface and pass it to the TransactionTemplate execute method for execution. In this way, you don’t need to repeat the boilerplate transaction management code for this block.
A. True
B. False
 

Tìm kiếm

Back
Top