摘要: 多对一 阅读全文
posted @ 2017-09-23 09:17 donghongbo 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 搭建mybatis环境 1, 导入需要的jar包 mybatis-*.*.*.jar ojdbc6.jar 2, 配置mybatis的总配置文件: mybatis-config.xml 配置根标签 3, 新建每个实体类的映射文件...Mapper.xml <!-- 定义每个实体类的映射文件 --> 阅读全文
posted @ 2017-09-23 09:02 donghongbo 阅读(328) 评论(0) 推荐(0) 编辑