- 博客(1)
- 收藏
- 关注
原创 用mybatis实现模糊查询
@Select("select * from user_information where user_alias like '%#{name}%')")由于模糊查询需要添加单独的 ' ' 导致占位符被当做字符串而没有被替换,会造成如下异常:org.mybatis.spring.MyBatisSystemException: nested exception is org.
2016-07-22 11:19:36
1442
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人