摘要: //bean类必须有无参构造,不然new BeanPropertyRowMapper<bean>(bean.class)不会把数据转为bean对象 @Test public void test3() throws PropertyVetoException { // List<bean> query 阅读全文
posted @ 2020-05-11 21:36 每月工资一万八 阅读(560) 评论(0) 推荐(0)
摘要: 导入 AOP 相关坐标 3.3 Spring集成Junit步骤 ①导入spring集成Junit的坐标 <!--此处需要注意的是,spring5 及以上版本要求 junit 的版本必须是 4.12 及以上--> <dependency> <groupId>org.springframework</g 阅读全文
posted @ 2020-05-11 15:13 每月工资一万八 阅读(182) 评论(0) 推荐(0)
摘要: public interface targetInterface { public void save(); } package com.jiang; public class target implements targetInterface { @Override public void sav 阅读全文
posted @ 2020-05-11 11:13 每月工资一万八 阅读(263) 评论(0) 推荐(0)