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
Caused by: java.sql.SQLException: sql injection violation, dbType postgresql, druid-version 1.2.4, class com.alibaba.druid.sql.ast.statement.SQLRefreshMaterializedViewStatement not allow : refresh materialized view <table_name>
如图,我该怎么做?
The text was updated successfully, but these errors were encountered:
add testcase for issue #4931
4a10824
https://github.com/alibaba/druid/releases/tag/1.2.13 问题已修复,请用新版本
Sorry, something went wrong.
换了版本还是提示有注入风险。我是配合mybatis使用的druid,把物化视图刷新语句作为update语句来使用的。请问我是需要额外进行一些配置么?
org.springframework.jdbc.UncategorizedSQLException:
@Mapper public interface XXXMapper {
@Update("REFRESH MATERIALIZED VIEW <table_name>") void refreshMaterialzedView();
}
No branches or pull requests
Caused by: java.sql.SQLException: sql injection violation, dbType postgresql, druid-version 1.2.4, class com.alibaba.druid.sql.ast.statement.SQLRefreshMaterializedViewStatement not allow : refresh materialized view <table_name>
如图,我该怎么做?
The text was updated successfully, but these errors were encountered: