Druid SQL Parser:解析Oracle语句报错
PL/SQL中执行该语句:select XMLSERIALIZE(DOCUMENT EXTRACT(a.xml_cont, '/document') AS CLOB) AS xmlCont,a. from inpcase.hospital_record a where 1=1 and ipid = #{ipid}没有问题,在druid中报错:Cause: java.sql.SQLException: sql injection violation, dbType oracle, , druid-version 1.2.8, syntax error: syntax error, expect ), actual EXTRACT pos 37, line 1, column 31, token EXTRACT : select XMLSERIALIZE(DOCUMENT EXTRACT(a.xml_cont, '/document') AS CLOB) AS xmlCont,a. from inpcase.hospital_record a where 1=1 and ipid = ?
赞0
踩0