Mybatis fuzzy queries can not be queried using Chinese

Mybatis solve fuzzy queries can not be queried using Chinese keywords

Solution:

In mybatis, the fuzzy query time, if you can not use Chinese query query results; in English you can
Workaround: sqlconfig.xml in: back value plus the value of the url useUnicode = true & characterEncoding = UTF- 8?

Guess you like

Origin www.cnblogs.com/bestjdg/p/12043867.html