摘要: 报错 >java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the rig 阅读全文
posted @ 2020-07-06 19:26 Spring_Xian 阅读(3311) 评论(0) 推荐(0)
摘要: 注解完成增删改查非常的简单,但是也只能完成一些简单的,不建议使用,建议使用xml文件配置(了解) mybatis-config.xml,utils,pojo都一样这里就不重复了最重要的是UserMapper.class public interface UserMapper { //查询所有 @Se 阅读全文
posted @ 2020-07-06 19:20 Spring_Xian 阅读(151) 评论(0) 推荐(0)
摘要: <!-- <select id="Limit" resultMap="com.xian.pojo.User" parameterType="map">--><!-- select * from testdb.test001 limit #{index},#{end}--><!-- </select> 阅读全文
posted @ 2020-07-06 10:56 Spring_Xian 阅读(259) 评论(0) 推荐(0)