Where the transaction is generally used in

E.g:

Generally it is time to delete the operation within the database, especially in multi-table delete; for example, delete a record, but this record were recorded in a few good table, then delete when necessary to use things up, to prevent just deleted data twelve tables, and data from other tables did not remove and clean; this problem is likely to arise at the time of data queries; so often things submitted by the deletion

 

spring transaction is carried out by way of declarative transaction management affairs that are declared in the configuration file, cut the program by aop section.

Guess you like

Origin www.cnblogs.com/H-hy/p/11240455.html