
Mybatis
文章平均质量分 75
Lorin 洛林
一枚 Java 服务端码农 | 技术交流 | 技术分享 | 拥抱开源 | 开源作者 article-sync-tool | Technology has the power to make the world a better place.
展开
-
探究 MySQL 中使用 where 1=1 是否存在性能影响
最近在项目中使用 `mybatis 写 SQL 使用了 where 1=1` 来简化多条件拼接的写法,案例如下,借此聊聊多条件拼接的常见的一些写法以及 `where 1=1` 是否存在性能影响。原创 2024-02-01 13:23:29 · 923 阅读 · 0 评论 -
MyBatis 使用报错:org.xml.sax.SAXParseException 元素内容必须由格式正确的字符数据或标记组成
MyBatis 使用报错:org.xml.sax.SAXParseException 元素内容必须由格式正确的字符数据或标记组成原创 2024-01-19 22:49:22 · 2984 阅读 · 0 评论 -
MyBatis 使用报错: Can‘t generate mapping method with primitive return type
新项目中使用 `MyBatis` 报如下错误:`Can't generate mapping method with primitive return type`原创 2024-01-19 21:29:43 · 1383 阅读 · 0 评论