code: protected void onDataSetStaleEvent(@Observes DataSetStaleEvent event) {
          DataSetDef def = event.getDataSetDef();
          if (DataSetProviderType.SQL.equals(def.getProvider())) {
              String uuid = def.getUUID();
              staticDataSetProvider.removeDataSet(uuid);
          }
      }
docs: Listen to changes on the data set definition registry