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 .
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.