#3515 Bug in QueryCache invalidation by rbygrave · Pull Request #3597 · ebean-orm/ebean
Effectively the bug fix is in SqlTreeNodeRoot.dependentTables() to include the baseTable in the set of dependent tables
|
|
||
| @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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters