throw new SQLException("Unable to update connection because the connection was null or the name was empty.");
log.debug("updating connection: " + configuration.path);
Configuration connectionConfiguration = ConfigurationHandler.getConfiguration("/configurations");
if (connectionConfiguration == null)
throw new SQLException("/configurations configuration not found!");
OrderedParameterWrapper parameterWrapper = new OrderedParameterWrapper(null, configuration.toQueryString(), null);
Configuration existingConfiguration = ConfigurationHandler.get(configuration.path);
connectionConfiguration.execute(parameterWrapper.getParameterMap(), "text/json", existingConfiguration != null ? "update" : "insert");
return true;
}