- 博客(7)
- 收藏
- 关注
原创 Mybatis一对多关联查询详解
要点 在Student类中添加List<Classes> classList属性 在Classes类中添加List<Student> students属性 在ClassesMapper.xml中 < resultMap> … < collection ofType="Student"> < /collection> </ resultMap> 在StudentMapper.xml中 < resultMap> ….
2022-05-02 01:44:50
10374
5
原创 Mybatis学习笔记(持续更新)
1.初步搭建Mybatis 1.创建maven工程 2.引入依赖 <dependencies> <!-- Mybatis核心 --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.7</versio.
2022-04-27 00:11:50
1103
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅