-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
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
Again, you can call CCJSqlParserUtil.sanitizeSingleSql( sqlStr)
to clean your statements properly.
#6187
Labels
Comments
为何不是官方在BoundSql的统一生成处使用CCJSqlParserUtil.sanitizeSingleSql来处理呢?直接从源头处理掉是不是会更好;像DataPermissionInterceptor中beforeQuery、beforePrepare的方法中会调用parserSingle和parserMulti方法,这里面会走校验,那在调用之前先CCJSqlParserUtil.sanitizeSingleSql处理一下或者在更早的地方处理应该更好一些吧? |
统计3.5.3.2后面版本框架提供的方法出现情况. |
|
jsqlparser4.9版本 没有找到这个方法 :CCJSqlParserUtil.sanitizeSingleSql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details see here: JSQLParser/JSqlParser#1988 (comment)
Originally posted by @manticore-projects in #5345 (comment)
The text was updated successfully, but these errors were encountered: