想要整合mybatis 如何获取从springboot中获取dataSource 不想用Resources
认证高级PHP讲师
You can use the official starter: https://github.com/mybatis/mybatis-spring-boot/tree/master/mybatis-spring-boot-samples
It’s easy if you use annotations, you can refer to this: https://github.com/hoserdude/spring-boot-mybatis-profile-sandbox
You can use the official starter: https://github.com/mybatis/mybatis-spring-boot/tree/master/mybatis-spring-boot-samples