You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata patterns in JDBC are derived from ODBC, and ODBC specifies with regard to the escape:
"""
An escape character, which is driver-specific and is used to include underscores, percent signs, and the escape character as literals. If the escape character precedes a non-special character, the escape character has no special meaning. If the escape character precedes a special character, it escapes the special character. For example, "\a" would be treated as two characters, "\" and "a", but "\%" would be treated as the non-special single character "%".
"""
(from: https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/pattern-value-arguments?view=sql-server-2017)
An escape followed by a non-special is currently not handled correctly, this needs to be fixed.
Submitted by: @mrotteveel
Relate to JDBC559
Metadata patterns in JDBC are derived from ODBC, and ODBC specifies with regard to the escape:
"""
An escape character, which is driver-specific and is used to include underscores, percent signs, and the escape character as literals. If the escape character precedes a non-special character, the escape character has no special meaning. If the escape character precedes a special character, it escapes the special character. For example, "\a" would be treated as two characters, "\" and "a", but "\%" would be treated as the non-special single character "%".
"""
(from: https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/pattern-value-arguments?view=sql-server-2017)
An escape followed by a non-special is currently not handled correctly, this needs to be fixed.
See also JDBC559.
Commits: ff8fde4
The text was updated successfully, but these errors were encountered: