摘要: 参考:https://mybatis.org/mybatis-3/zh/sqlmap-xml.html 一、select <select id="selectPerson" parameterType="int" resultType="hashmap"> SELECT * FROM PERSON 阅读全文
posted @ 2021-05-19 19:52 飞翔在天 阅读(163) 评论(0) 推荐(0)
摘要: 参考:https://mybatis.org/spring/zh_CN/ MyBatis-Spring 会帮助你将 MyBatis 代码无缝地整合到 Spring 中。它将允许 MyBatis 参与到 Spring 的事务管理之中,创建映射器 mapper 和 SqlSession 并注入到 bea 阅读全文
posted @ 2021-05-19 19:45 飞翔在天 阅读(85) 评论(0) 推荐(0)