编程知识 cdmana.com

19.1.3 integration configuration of spring and mybatis (preliminary development) - "SSM in depth analysis and project practice"

All the source code in the project can be found in the linked repository :https://github.com/chenhaoxiang/uifuture-ssm

19.1.3 Spring、MyBatis Consolidation configuration

take mysql Of properties The configuration file is well configured (JDBC Properties file ). Name it :config.properties. The content of the configuration file is like the code list 19-2 Shown .

Code list 19-2:JDBC The configuration file

driverClassName=com.mysql.jdbc.Drive

版权声明
本文为[Memory]所创,转载请带上原文链接,感谢
https://cdmana.com/2020/12/20201224225811715S.html

Scroll to Top