JAVASEhttps://blog.csdn.net/PorkBird/article/details/113666542
JDBChttps://blog.csdn.net/weixin_43785688/article/details/122506128
JAVAWEBhttps://blog.csdn.net/weixin_43785688/article/details/122553884
Mybatis笔记https://blog.csdn.net/CherryChenieth/article/details/123237754?spm=1001.2014.3001.5501
Spring5笔记https://blog.csdn.net/qq_35843514/article/details/114287046?spm=1001.2014.3001.5501
SpringMVC笔记https://blog.csdn.net/weixin_44751434/article/details/119358203?spm=1001.2014.3001.5501
Mavenhttps://blog.csdn.net/qq_45408390/article/details/116144065
SSM框架学习(全面)https://www.yuque.com/jyunkai/ssm/gumcba
SSM框架学习-可以辅助着上面的一起看,这一份写的比较舒服https://www.wolai.com/oneice/tfA3XzwaSgUM92YKXzcKH7
修正Mybatis笔记中的10 - MyBatis逆向工程的
(2)创建MyBatis的核心配置文件
在src/main/resources下创建mybatis-config.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
<properties resource="jdbc.properties"/>
<!--设置MyBatis的全剧配置-->
<settings>
<!-- 将下划线自动映射成驼峰,比如emp_name -> empName -->
<setting name="mapUnderscoreToCamelCase" value="true"/>
<!--开启延迟加载-->
<setting name="lazyLoadingEnabled" value="true"/>
</settings>
<typeAliases>
<package name="com.atguigu.mybatis.pojo"/>
</typeAliases>
<environments default="development">
<environment id="development">
<transactionManager type="JDBC"/>
<dataSource type="POOLED">
<property name="driver" value="${jdbc.driver}"/>
<property name="url" value="${jdbc.url}"/>
<property name="username" value="${jdbc.username}"/>
<property name="password" value="${jdbc.password}"/>
</dataSource>
</environment>
</environments>
<mappers>
<package name="com.atguigu.mybatis.mapper"/>
</mappers>
</configuration>