-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow #1759
Comments
我看之前温少说过1.0.28修复,但1.0.27 和 1.0.28 都尝试了,问题一样,最新的1.0.31,问题依旧 |
之前partition bug解决,但comment问题在1.1.0中仍然存在,难道是我用错了吗? sql is: 调用方法: 执行报:class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow |
1.1.14 版本的springboot配置了: |
druid 版本:1.0.29
sql is:
COMMENT ON COLUMN "TB_CRM_MATERIAL"."INVALID_TIME" IS '生效时间'
调用方法:
OracleStatementParser parser = new OracleStatementParser(sql);
SQLStatement statement = parser.parseStatement();// 分号之后多语句忽略
OracleWallProvider provider = new OracleWallProvider();
provider.getConfig().setCommentAllow(true);
WallCheckResult result1 = provider.check(sql);
执行报:class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow
The text was updated successfully, but these errors were encountered: