摘要:
Spring将事务管理分成了两类 一、编程式事务管理:(不常用) transactionTemplate.execute(new TransactionCallback<People>() { @Override public People doInTransaction(TransactionSt 阅读全文
posted @ 2017-02-05 16:36
N神3
阅读(177)
评论(0)
推荐(0)
摘要:
@RunWith(SpringJUnit4ClassRunner.class)让测试运行于Spring测试环境 @ContextConfiguration 用来指定加载的Spring配置文件的位置,会加载默认配置文件 加载Spring配置文件:@ContextConfiguration(classp 阅读全文
posted @ 2017-02-05 15:39
N神3
阅读(1225)
评论(0)
推荐(1)

浙公网安备 33010602011771号