marklogic-community / ml-jdbc-driver

Making JDBC connections to MarkLogic SQL/ODBC Server
Other
2 stars 4 forks source link

Connection reports wrong version? #27

Open grtjn opened 1 year ago

grtjn commented 1 year ago

When I use the JDBC driver to connect to MarkLogic 11 using something like DBeaver, and I test the connection, I get a nice popup stating some versions. It correctly reports that it is using driver version 0.6, but for unclear reasons it mentions that the server version is 9.1.2. What version number is that, and shouldn't it either report the version of the underlying PostgresQL library on the server side, or just report the actual MarkLogic version?

image

grtjn commented 1 year ago

For the sake of completeness, here the actual version of MarkLogic on tdbs014:

image

bobstarbird commented 1 year ago

Unfortunately this is the data returned from the server. The driver just displays the result for "server_version".

grtjn commented 1 year ago

Can you poke the core dev team to ask about this? I suspect security scans at our end are tripping over this..

bobstarbird commented 1 year ago

BUG-60353 Wrong MarkLogic Server version reported by ODBC Server