摘要:
1. 部署包 2. 创建项目结构 mapper,service,controller,domain,config,utils 3. resource里创建spring-mvc.xml与applicationContext.xml与sqlMapperConfig-spring.xml 4. 编写spr 阅读全文
posted @ 2022-03-13 15:41
remix_alone
阅读(73)
评论(0)
推荐(0)
摘要:
Mybatis与Spring整合推翻前面的配置,使用applicationContext配置SqlMapperConfig.xml里参数 1. 使用SqlSessionFactoryBean对象配置 DataSource(数据源),configLocation(sqlMapperConfig.xml 阅读全文
posted @ 2022-03-13 15:27
remix_alone
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号