/** * Returns a stored parameters for the object. * * @param object * The object which will be used to look up in the map. * @return The list of parameters or <code> null </code> if there is no container for the given * SQL statement or there are no parameters captured within this SQL statement. */ protected List<String> getParameters(Object object) { QueryInformation queryAndParameters = preparedStatements.getIfPresent(object); if (null == queryAndParameters) { return null; } else { return queryAndParameters.getParametersAsList(); } }