@Override public boolean refreshObject(@NotNull DBRProgressMonitor monitor) throws DBException { super.refreshObject(monitor); getContainer().getTableCache().clearChildrenCache(this); tableTriggerCache.clearCache(); if (partitionCache != null) { partitionCache.clearCache(); } if (periodCache != null) { periodCache.clearCache(); } getContainer().getConstraintCache().clearObjectCache(this); getContainer().getAssociationCache().clearObjectCache(this); getContainer().getReferenceCache().clearObjectCache(this); // DF: Clear base index/trigger cache. Not cheap but didn't found another way.. getContainer().getIndexCache().clearCache(); getContainer().getTriggerCache().clearCache(); return true; }
public DB2Index(DB2TableBase db2Table, String indexName, DBSIndexType indexType) { super(db2Table.getSchema(), db2Table, indexName, indexType, false); }