Open oaoit opened 7 years ago
Caused by: java.sql.SQLException: sql injection violation, syntax error: ERROR. token : QUESBAR, pos : 649 : select count(id) FROM t_order WHERE order_date>=to_date(?,'yyyy-MM-dd') order_date <(to_date(?,'yyyy-MM-dd')+1) and name like '%'||?||'%'
druid version 1.0.28.
In version 1.0.27 running normally.
这个语法不正确吧?
Caused by: java.sql.SQLException: sql injection violation, syntax error: ERROR. token : QUESBAR, pos : 649 : select count(id) FROM t_order WHERE order_date>=to_date(?,'yyyy-MM-dd') order_date <(to_date(?,'yyyy-MM-dd')+1) and name like '%'||?||'%'
druid version 1.0.28.