![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
框架-Mybatis
GENI`USR`OAD
2B2newB
展开
-
MyBatis模糊查询(MySQL和Oracle)
MySQL版: 可以使用 "%"#{字段名}"%" ,也可以使用 CONCAT('%',#{字段名},'%') 。 <select id="selectUserByName" parameterType="string" resultType="User"> select * f原创 2019-02-15 11:26:43 · 846 阅读 · 3 评论 -
MyBatis配置文件
MyBatis配置文件 1.1 总体配置文件(configuration.xml) <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.原创 2019-02-15 10:49:28 · 106 阅读 · 0 评论