怎么整合Mybatis
1、把本来在SqlMapConfig.xml文件中的内容都放屈爱到applicationContext.xm文件来。

2、环境配置由SqlSessionFactoryBean类来管理。

3、映射文件配板肺置由MapperScannerConfigurer类劣番返来管理。

阅读量:177
阅读量:182
阅读量:63
阅读量:154
阅读量:135
1、把本来在SqlMapConfig.xml文件中的内容都放屈爱到applicationContext.xm文件来。

2、环境配置由SqlSessionFactoryBean类来管理。

3、映射文件配板肺置由MapperScannerConfigurer类劣番返来管理。
