private void tablesTask(Schema schema) {
        final Dbms dbms = schema.getParentOrThrow();

        try (final Connection connection = connectionPool.getConnection(dbms)) {
            try (final ResultSet rsTable = connection.getMetaData().getTables(null, null, null, TABLES_AND_VIEWS)) {
                if (SHOW_METADATA) {
                    final ResultSetMetaData rsmd = rsTable.getMetaData();
                    final int numberOfColumns = rsmd.getColumnCount();
                    for (int x = 1; x <= numberOfColumns; x++) {
                        LOGGER.debug(new StringJoiner(", ")
                            .add(rsmd.getColumnName(x))
                            .add(rsmd.getColumnClassName(x))
                            .add(Integer.toString(rsmd.getColumnType(x)))
                            .toString()
                        );
                    }
                }

                while (rsTable.next()) {
                    if (SHOW_METADATA) {
                        final ResultSetMetaData rsmd = rsTable.getMetaData();
                        final int numberOfColumns = rsmd.getColumnCount();
                        for (int x = 1; x <= numberOfColumns; x++) {
                            LOGGER.debug(rsmd.getColumnName(x) +
                                ":'" + rsTable.getObject(x) + "'");
                        }
                    }

                    final Table table      = schema.mutator().addNewTable();
                    final String tableName = rsTable.getString("TABLE_NAME");
                    final String tableType = rsTable.getString("TABLE_TYPE");
                    table.mutator().setId(tableName);
                    table.mutator().setName(tableName);
                    table.mutator().setView("VIEW".equals(tableType));
                }
            } catch (final SQLException ex) {
                throw new SpeedmentException(format(
                    "Error reading results from SQLite-database '%s'.",
                    DocumentUtil.toStringHelper(dbms)
                ), ex);
            }
        } catch (final SQLException ex) {
            throw new SpeedmentException(format(
                "Error getting connection to SQLite-database '%s'.",
                DocumentUtil.toStringHelper(dbms)
            ), ex);
        }
    }
'true' below might speed up metadata retrieval since approximations can
be used. See https://github.com/speedment/speedment-enterprise/issues/168
runtime-parent/runtime-connector-parent/sqlite/src/main/java/com/speedment/runtime/connector/sqlite/internal/SqliteMetadataHandlerImpl.java