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
Expected behaviour:
I have a table with a column ID_Article.
When calling getColumns with ID\_Article as col Parameter, it should return the description of table column ID_Article .
Actual behaviour:
Since version 7.3.1 it does not seem to find the column anymore, as it does not escape the _ correctly.
Error message/stack trace:
No error is thrown, it just does not find the column.
Driver version
Version 7.3.1 or later
SQL Server version
SQL Server 2017
Client Operating System
Windows 10 x64
JAVA/JVM version
OpenJDK 1.8.0_202
Problem description
Expected behaviour:
I have a table with a column
ID_Article.When calling
getColumnswithID\_ArticleascolParameter, it should return the description of table columnID_Article.Actual behaviour:
Since version 7.3.1 it does not seem to find the column anymore, as it does not escape the
_correctly.Error message/stack trace:
No error is thrown, it just does not find the column.
Any other details that can be helpful:
The method
EscapeIDNamestates, that\_nwill be mapped to'[_]n'as the SQL-Server expects this syntax. However, this mapping does not seem to occur anymore.The bug was probably introduced by Fix | Align DatabaseMetadata.getColumns with JDBC 4.3 Specifications #1016.
Also [BUG] regression with 7.4.1 (against 7.2.2) #1134 might be related to this.