CacheManager statementCache =
lcc.getLanguageConnectionFactory().getStatementCache();
if (statementCache != null) {
final Collection values = statementCache.values();
data = new Vector<GenericPreparedStatement>(values.size());
for (Iterator i = values.iterator(); i.hasNext(); ) {
final CachedStatement cs = (CachedStatement) i.next();
final GenericPreparedStatement ps =
(GenericPreparedStatement) cs.getPreparedStatement();