private void saveConfigFile(File file, ProjectProperty project, boolean isGraphical) {
        final Path path = file.toPath();
        final Path parent = path.getParent();
        if (parent == null) {
            throw new SpeedmentToolException("Unable to save " + file.toString() + " (no parent).");
        }

        try {
            if (!parent.toFile().exists()) {
                Files.createDirectories(parent);
            }

            // Set the Speedment version used to generate the code
            project.stringPropertyOf(ProjectUtil.SPEEDMENT_VERSION, () -> null)
                .setValue(infoComponent.getEditionAndVersionString());

            DocumentTranscoder.save(project, path, Json::toJson);

            if (isGraphical) {
                final String absolute = file.getAbsolutePath();
                userInterfaceComponent.log(success("Saved project file to '" + absolute + "'."));
                userInterfaceComponent.showNotification("Configuration saved.", FontAwesome.DOWNLOAD, Palette.INFO);
            }

            currentlyOpenFile = file;

        } catch (final IOException ex) {
            if (isGraphical) {
                userInterfaceComponent.showError("Could not save file", ex.getMessage(), ex);
            } else {
                throw new SpeedmentToolException(ex);
            }
        }
    }
Set all typemappers in the given project that match dbms, schema, table, column and column database type.

The idea is to use this method to reset TypeMappers from an old project when new metadata has been loaded.
We make sure to match column database type to avoid setting an incompatible mapper if the new project has
changed database type for the referenced column.

@param to the project to mutate
@param dbms the dbms holding the typemapper
@param schema the schema of the typemapper
@param table the table of the typemapper
@param column the column of the typemapper
@param typeMapperClass the new type mapper class to set
tool-parent/tool-core/src/main/java/com/speedment/tool/core/internal/util/ConfigFileHelper.java