We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
springboot2.7.8 + mysql 8.4.0 + druid-springboot-starter 不能用withRecursive递归查询,一使用就报语法错误,sql本身是没问题
xc_region
cte
: WITH RECURSIVE `CTE` AS ((SELECT * FROM `xc_region` WHERE `pid` = ?) UNION ALL (SELECT `xc_region`.* FROM
,
The text was updated successfully, but these errors were encountered:
发完整的sql语句来,这个语法是加了支持的
Sorry, something went wrong.
No branches or pull requests
springboot2.7.8 + mysql 8.4.0 + druid-springboot-starter 不能用withRecursive递归查询,一使用就报语法错误,sql本身是没问题
Error querying database. Cause: java.sql.SQLException: sql injection violation, dbType mysql, , druid-version 1.2.8, syntax error: syntax error, error in :'
xc_region
,cte
WHERExc_region
', expect ), actual null, pos 119, line 1, column 118, token IDENTIFIER: WITH RECURSIVE `CTE` AS ((SELECT * FROM `xc_region` WHERE `pid` = ?) UNION ALL (SELECT `xc_region`.* FROM
xc_region,
cte`` WHERExc_region
.pid = `cte`.id )) SELECT * FROM `cte`The text was updated successfully, but these errors were encountered: