Spring + Hibernate 项目的Junit测试
注意引入引入的jar包有spring-test, junit4 @RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations={"classpath:/spring-hibernate.xml","classpath:/spring-bean.xml"})@TransactionConfiguration(trans
原创
2015-04-22 15:30:32 ·
2044 阅读 ·
0 评论