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
I tried to use DSLContext.meta().getTables() to fetch the list of table names and columns per table. It fetches all the table names correctly. However, the field list for each table is empty. I'm using mysql with jooq 3.6.2.
The text was updated successfully, but these errors were encountered:
That doesn't sound good... Just to be sure, what JDBC driver are you using?
lukaseder
changed the title
(MySql) DSLContext.meta().getTables() return empty fields list for every table
DSLContext.meta().getTables() return empty fields list for every table in MySQL
Jul 13, 2015
MySQL's JDBC driver has a setting that indicates whether a "null" catalog passed to DatabaseMetaData.getColumns() means the "current" catalog or all catalogs. This is probably what is causing the issue in a multi-schema setup. jOOQ should work around this setting by explicitly fetching all catalogs
lukaseder
changed the title
DSLContext.meta().getTables() return empty fields list for every table in MySQL
DSLContext.meta().getTables() returns empty fields list for table that are not in the current schema in MySQL
Jul 15, 2015
I tried to use DSLContext.meta().getTables() to fetch the list of table names and columns per table. It fetches all the table names correctly. However, the field list for each table is empty. I'm using mysql with jooq 3.6.2.
The text was updated successfully, but these errors were encountered: