// GenericStatement.preparedStmt.compilingStatement) to ensure
// that we're the only ones calling CacheManager.remove() on
// this statement. Therefore, just release the statement here
// so that we don't get in the way for the other thread that
// is trying to compile the same query.
statementCache.release(cachedItem);
} else {
// The statement object that we were trying to compile is still
// in the cache. Since the compilation failed, remove it.
statementCache.remove(cachedItem);
}