摘要:
执行insert update delete操作 执行select操作 1.User实体类及get/set方法 测试类 3.配置文件 db.properties 阅读全文
摘要:
第一种方式:.Spring常规的数据库连接方法: 1 @RunWith(SpringJUnit4ClassRunner.class) 2 @ContextConfiguration(locations="classpath:applicationContext.xml") 3 public clas 阅读全文