Hi everyone,
I used the DB connector and installed the jaybird jdbc driver but cannot access the table schema.
From the screenshots, can anyone spot anything suspicious? I’m currently pointed towards the sql dialect, can I change that somehow in KNIME?
When the DB Connector is greenlit, does it mean that there is an actual connection to the DB or only that there are no errors in the syntax of the node?
Hi MatStich,
when the DB Connector is green it was able to create a connection to the database. So this is already a good start. However it seems that KNIME can not get the meta data from the driver to list the available schemata. The driver should support JDBC version 4.1 or later which the Firebird Database driver does not seem to support.
You might still be able to work with the database. Have you tried to enter the schema and table name manually in the DB Table Selector node? If this also fails it might be that Firebird does not support sub-queries which then will limit the nodes that you can use since most of the DB nodes use sub-queries. If this is the case you can still use the DB Query Reader node to read data from the DB.
Bye
Tobias
Hello MatStich,
if you do not use the Evaluate button in the DB Query Reader but simply execute the node it should work as well. The problem seems to be that Firebird does not support the LIMIT statement which is used when you press the Evaluate button. See the Parsed Statement which is send to the DB. So there shouldn’t be any need to use the legacy db nodes.
Bye
Tobias
Hi,
this is interesting. What version of Firebird DB are you using. I would like to try it myself to see what the problem with the metadata fetching is.
Thanks
Tobias
Hi Matthias,
thanks for the info. I was able to reproduce the problem. It looks like that Firebird does not return any schema which the new framework expects as of now. We will be looking into it to change this and also support databases that do not support schemas when listing the metadata. If everything works out this will be fixed with the release in summer.
Bye
Tobias
Hi @MatStich ,
we have just fixed the metadata retrieval problem. You can test it with the nightly build or wait until the official release in summer. However the limit problem will still exist but I have created a ticket to fix this as well.
Bye
Tobias