Does the JDBC spec prevent '?' from being used as an operator (outside of quotes)?
问题 From Sam Macbeth\'s question: Is there anything in the JDBC spec which allows a ? to be escaped and be anything other than a parameter placeholder? For example, Postgres allows you to use ? as an operator: SELECT * FROM tbl WHERE tbl.data ? \'abc\' Would a JDBC driver that lets you use ? as an operator still be JDBC-compliant? 回答1: I think it would be perfectly acceptable if the JDBC driver would allow for the ? operator to be unescaped and used as it is, but it might 1) complicate your