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

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

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

阅读量:27
阅读量:103
阅读量:41
阅读量:128
阅读量:98
1、把本来在SqlMapConfig.xml文件中的内容都放屈爱到applicationContext.xm文件来。

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

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