使用AbstractTransactionalDataSourceSpringContextTests 测试时遇到的问题。
有什么设置,使测试数据能保存到数据库中?我每次使用都没保存到数据库中
看看文章http://dengyin2000.iteye.com/blog/70008http://www.blogjava.net/rain1102/articles/117518.html
super.setDefaultRollBack(false)
是不是没提交事务?
http://netfly.iteye.com/blog/40451