[CONJ-1100] Be able to filter system tables and views Created: 2023-08-06 Updated: 2023-08-07 |
|
| Status: | Open |
| Project: | MariaDB Connector/J |
| Component/s: | metadata |
| Affects Version/s: | 3.1.4 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | prrvchr | Assignee: | Diego Dupin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | Compatibility | ||
| Environment: |
LibreOffice / OpenOffice Base with jdbcDriverOOo[1] extension. |
||
| Description |
|
To list the tables and views offered by a connection, LibreOffice and / or OpenOffice Base uses the method DatabaseMetaData.getTables(). This method offers a fourth parameter that allows you to filter the tables according to their type. The values returned by the getTableTypes() method are not precise enough (or numerous) to be able to filter the system tables and views (tables and views contained in information_schema, mysql, performance_schema and sys) from the tables and views of the user. This does not allow to list or not the system tables and views to the user, according to his choice, in the graphic interface of LibreOffice / OpenOffice Base. |
| Comments |
| Comment by prrvchr [ 2023-08-07 ] |
|
It turns out that all the views contained in the information_schema catalog are easily filterable since they are all of the type: SYSTEM VIEW So I'm not sure that the sys, mysql and performance_schema catalogs should be considered as system tables or views? |