Java 用msql LIKE语句模糊查询——prepareStatement LIKE语句
问题:
prepareStatement LIKE在mysql中可以输出结果,但是用java写就查找不到结果。
public void getYunEventListByKw(String content) {
PreparedStatement preStmt = null;
ResultSet rs = null;
Connection conn = null;
try {
conn = dbHelper