java.sql.SQLException: 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)))'

GitHub | strivezsh | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    貌似 不支持create database link语句?

    GitHub | 8 months ago | strivezsh
    java.sql.SQLException: 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)))'

    Root Cause Analysis

    1. java.sql.SQLException

      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)))'

      at com.alibaba.druid.wall.WallFilter.check()
    2. druid
      WallFilter.check
      1. com.alibaba.druid.wall.WallFilter.check(WallFilter.java:724)[druid-1.0.20.jar:1.0.20]
      1 frame