How can I fix this error : non supported SQL92?

后端 未结 5 2066
盖世英雄少女心
盖世英雄少女心 2020-12-19 03:32

I wirte code in java and database connection with oracle. I run some script and get this error.My script work in toad but not work in my project

url include .

5条回答
  •  隐瞒了意图╮
    2020-12-19 04:06

    This is probably due to the JDBC Escape syntax (see section 13.4 of the JDBC 4.1 specification). A JDBC driver should handle escapes between { and } and translate the escaped standard function, outer join etc to the database specific format.

    As far as I know a driver should only parse the escapes if it occurs in the statement body itself, and not when it is inside text in the statement (as it is in your example). So to me this looks like a bug in the JDBC escape processing of your driver.

提交回复
热议问题