#3515 Bug in QueryCache invalidation by rbygrave · Pull Request #3597 · ebean-orm/ebean

@rbygrave

Effectively the bug fix is in SqlTreeNodeRoot.dependentTables() to include the baseTable in the set of dependent tables

@nPraml

Effectively the bug fix is in SqlTreeNodeRoot.dependentTables() to include the baseTable in the set of dependent tables

rbygrave


@Override
public void dependentTables(Set<String> tables) {
tables.add(baseTable);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is effectively the bug fix here. We need the baseTable to be included in the set of dependent tables

private volatile boolean failed;
private volatile int step;

@ForPlatform(Platform.POSTGRES) // H2 isn't good enough for this test

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is not reliable on H2