forked from spring-projects/spring-framework
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The TransactionTemplate adopts the same approach as other Spring templates, such as the
JdbcTemplate
. It uses a callback approach (to free application code from having to do the boilerplate acquisition and release transactional resources) and results in code that is intention driven, in that your code focuses solely on what you want to do.
从这几句话中得到一个启发:可以研究一下 Spring 的回调机制和设计思路。
Metadata
Metadata
Assignees
Labels
No labels