/** * Clears all the parameters in the array. * * @param preparedStatement * The prepared statement for which all parameters are going to be cleared. */ protected void clearParameters(Object preparedStatement) { QueryInformation queryAndParameters = preparedStatements.getIfPresent(preparedStatement); if (null == queryAndParameters) { if (LOG.isDebugEnabled()) { LOG.debug("Could not get the prepared statement from the cache to clear the parameters! Prepared Statement:" + preparedStatement); } return; } queryAndParameters.clearParameters(); }