does not turn off dirty checking.
However this works as intended
To check it download sample project https://github.com/stsypanov/spring-data-examples and run BaseJpaRepositoryImplFindOneReadOnlyTest.testFindOneReadOnlyTrue_useEntityManager_expectValueNotUpdated
I created a PR here:
Not sure I’d classify this as a bug. They are named QueryHints for a reason. I agree its a worthwhile change, but unless you see documentation somewhere indicating this should be possible I’m re-categorizing this as a RFE