// Tell the DependencyTracker that we're going to prefetch all of the WorkFragments
this.depTracker.addPrefetchWorkFragment(this.ts, this.prefetchFragment, this.prefetchParams);
assertEquals(1, this.depTrackerDbg.getPrefetchCounter(this.ts));
// Now if we add in the same query again, it should automatically pick up the result
SQLStmt nextBatch[] = {
new SQLStmt(this.getStatement(this.catalog_proc, "getItemInfo")),
new SQLStmt(this.catalog_stmt)
};
ParameterSet nextParams[] = {
new ParameterSet(12345l),
new ParameterSet(this.prefetchParams[0].toArray())
};