SpringBoot Mybatis 自动加载XML或 手动加载
实现启动项目自动加载XMLimport org.apache.ibatis.session.SqlSessionFactory;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.annotation.Bean;import org.s..
原创
2020-08-27 16:48:41 ·
2000 阅读 ·
0 评论