![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
学习框架
Lord_Bao
知乎:搜索“LordBao”
展开
-
Spring-Mybatis整合总结
文章目录Spring-Mybatis整合总结1.Mybatis使用1.01.0Mybatis环境搭建1.1Mapper.xml(映射文件)1.2主配置文件1.3执行sql语句1.4观察2.Mybatis使用2.02.1编写MybatisUtils,简化代码2.2撰写Dao的实现类DaoImpl2.3观察3.Mybatis使用3.04.Mybatis使用4.05.Spring-Mybatis整合1.05.1环境搭建5.2Mapper.xml5.3Mybatis主配置文件5.4jdbcBeans.xml5.5撰原创 2020-08-10 19:41:23 · 627 阅读 · 0 评论 -
Intelli J :用Spring MVC 写个 HelloWorld
最近在学框架,有很多代码需要总结总结。嗯,虽然原理不是很懂,但先用起来。这一篇文章写的是 采用开发工具 Intelli J ,写一个基于Spring MVC的HelloWorld。一些核心代码,放在文末。文章目录创建Maven WebApp项目Maven 依赖 spring web-mvc创建applicationContext.xmlweb.xml配置DispatcherServlet在a...原创 2020-03-17 11:11:01 · 286 阅读 · 0 评论