mybatis也提供了与spring整合的一些类,只需要在xml中为spring容器配置好就可以直接使用mybatis
下图是原来的mybatis核心配置文件和spring中的配置的对应关系
完整demo github链接:github.com/chenkehao19…
mybatis也提供了与spring整合的一些类,只需要在xml中为spring容器配置好就可以直接使用mybatis
下图是原来的mybatis核心配置文件和spring中的配置的对应关系
完整demo github链接:github.com/chenkehao19…