I have a heavy operation, which is read only. This is all mapped by hibernate, in a spring boot application. Hibernate spends 6seconds flushing my entities, when there is no mutation of any sort. This is simply a get operation.
I am trying to stop hibernate from spending that 6 second, flushing redundantly.
I put hibernate flush mode to MANUAL/NEVER. But it didn't make any difference.
The property is set correctly, but hibernate stats still show the flushing, count, and the time spent.