status = getSimpleJdbcTemplate().update(getSqlQuery(query), parameters);
} catch (DataIntegrityViolationException e) {
LOGGER.log(Level.FINE, "Connector name " + connectorName
+ "already exists in connector names table.", e);
} catch (Throwable e) {
throw new SharepointException(
"Failed to add the record for parameter [" + connectorName + "]", e);
}
if (status == 1) {
LOGGER.log(Level.INFO, "Sucessfully inserted the connector name ["
+ connectorName + "] using the query [ " + query + " ]");