Open sbogrett opened 7 years ago
Hi,
you can override the behavior of BasicSqlConnection and define your own behavior. See for example MySQLConnection, it overrides the getTables method. Your new implementation will have to be registered in plugin.xml, and then selected in the connection in the graph.
I have a generic JDBC driver that talks to a WebService. The DatabaseMetaData indicates that catalogs are not used by returning false for all of the appropriate supportsCatalogs methods. The driver returns no catalogs from the getCatalogs(). The driver returns a list of schemas from the getSchemas() call. The BasicSqlConnection calls getTables with a catalog parameter with the name of a schema even though no catalogs are listed in getCatalogs() but there are schemas listed in getSchemas().