getLanguageConnectionFactory().getStatementCache();
if (statementCache == null)
return;
Cacheable cachedItem = statementCache.findCached(statement);
// No need to do anything if the statement is already removed
if (cachedItem != null) {
CachedStatement cs = (CachedStatement) cachedItem;
if (statement.getPreparedStatement() != cs.getPreparedStatement()) {
// DERBY-3786: Someone else has removed the statement from