摘要: <!--1.無參構造創建bean,反射,通過setter方法--> <!--默認單例bean工廠;--> <!--動態注入默認根據類型--> <bean id="stu" class="cn.kgc.kb08.spring.entity.Student" autowire="byType" scop 阅读全文
posted @ 2020-08-03 15:56 PEAR2020 阅读(118) 评论(0) 推荐(0) 编辑
摘要: <mappers> <!--<package name="model.mapper"/>--> 只適用於注解方式 // 以下兩個適用於mapper.xml方式 <mapper class="model.mapper.StudentInfoMapper"/> <mapper resource="mod 阅读全文
posted @ 2020-08-03 09:23 PEAR2020 阅读(91) 评论(0) 推荐(0) 编辑