mybatis中LIKE模糊查詢的幾種寫法以及注意點

mybatis中對於使用like來進行模糊查詢的幾種方式:html (1)使用${...}spring 注意:因爲$是參數直接注入的,致使這種寫法,大括號裏面不能註明jdbcType,否則會報錯sql org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.Reflect
相關文章
相關標籤/搜索