java.sql.SQLException: sql injection violation, class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow : comment on table jswoa1.con_attach is '附件表'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jxf114208
, 10 months ago
sql injection violation, class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow : comment on table jswoa1.con_attach is ''
via GitHub by strivezsh
, 1 year ago
sql injection violation, syntax error: syntax error, error in :'d by "xxx" using '(DESCRIPTION = (A',expect IDENTIFIER, actual LITERAL_ALIAS xxx: create database link db_link connect to "xxx" identified by "xxx" using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))'
via GitHub by taolive
, 2 years ago
sql injection violation, part alway true condition not allow : select count(personalin0_.i_id) as col_0_0_ from t_hr_personal_info personalin0_ cross join t_hr_staff staff1_ where personalin0_.i_staff_id=staff1_.i_id and 1=1 and staff1_.sstaffaccount=?
via GitHub by takeseem
, 2 years ago
sql injection violation, part alway true condition not allow : select count(personalin0_.i_id) as col_0_0_ from t_hr_personal_info personalin0_ cross join t_hr_staff staff1_ where personalin0_.i_staff_id=staff1_.i_id and 1=1 and staff1_.sstaffaccount=?
via GitHub by wangshuimiao
, 7 months ago
sql injection violation, syntax error: ERROR. token : DESC, pos : 106 : SELECT BANK_CODE, CONN_LOCATION_TYPE, OUTER_KEYLABEL_NAME, INNER_KEYLABEL_NAME, DESC, COMMENT, STATUS, DB_TIMESTAMP FROM EGL_SYS_KEYLABEL_CONVERT_DEF WHERE STATUS='1'
via GitHub by chinaxy
, 7 months ago
sql injection violation, class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow : comment on column OPERATOR.eid is 'ID'
java.sql.SQLException: sql injection violation, class com.alibaba.druid.sql.ast.statement.SQLCommentStatement not allow : comment on table jswoa1.con_attach is '附件表'
at com.alibaba.druid.wall.WallFilter.check(WallFilter.java:726)
at com.alibaba.druid.wall.WallFilter.statement_executeUpdate(WallFilter.java:525)
at com.alibaba.druid.filter.FilterChainImpl.statement_executeUpdate(FilterChainImpl.java:2375)
at com.alibaba.druid.filter.FilterAdapter.statement_executeUpdate(FilterAdapter.java:2486)
at com.alibaba.druid.filter.FilterEventAdapter.statement_executeUpdate(FilterEventAdapter.java:327)
at com.alibaba.druid.filter.FilterChainImpl.statement_executeUpdate(FilterChainImpl.java:2375)
at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.executeUpdate(StatementProxyImpl.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.jdbcdslog.StatementLoggingHandler.invoke(StatementLoggingHandler.java:27)
at com.sun.proxy.$Proxy84.executeUpdate(Unknown Source)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:252)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:522)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.