#1427 - QueryCache should be cleared, if one of a dependent bean is updated

Wrap Clock as ClockService to use in TransactionManager and DefaultServer (and allow for changing the Clock implementation for testing).
This commit is contained in:
rob bygrave
2018-06-16 00:22:44 +12:00
parent 5adbebaf6e
commit bd3c99e67f
7 changed files with 53 additions and 11 deletions
@@ -80,7 +80,7 @@ class ImplicitReadOnlyTransaction implements SpiTransaction, TxnProfileEventCode
this.connection = connection;
this.persistenceContext = new DefaultPersistenceContext();
this.startNanos = System.nanoTime();
this.startMillis = manager.clockNowEpoch();
this.startMillis = manager.clockNowMillis();
}
/**