code: private static <T> void writeConfig(BufferedWriter writer, DatabaseTableConfig<T> config) throws IOException,
  			SQLException {
  		writer.append(CONFIG_FILE_START_MARKER);
  		writer.newLine();
  		if (config.getDataClass() != null) {
  			writer.append(FIELD_NAME_DATA_CLASS).append('=').append(config.getDataClass().getName());
  			writer.newLine();
  		}
  		if (config.getTableName() != null) {
  			writer.append(FIELD_NAME_TABLE_NAME).append('=').append(config.getTableName());
  			writer.newLine();
  		}
  		writer.append(CONFIG_FILE_FIELDS_START);
  		writer.newLine();
  		if (config.getFieldConfigs() != null) {
  			for (DatabaseFieldConfig field : config.getFieldConfigs()) {
  				DatabaseFieldConfigLoader.write(writer, field, config.getTableName());
  			}
  		}
  		writer.append(CONFIG_FILE_FIELDS_END);
  		writer.newLine();
  		writer.append(CONFIG_FILE_END_MARKER);
  		writer.newLine();
  	}
docs: Write the config to the writer.