| I don't think this bug should be closed. In our case we have a huge amount of logging exactly due to a query like the one below. The shouldBeLocked parameter is false in 99.99% of the cases, yet we create a Query with LockMode.NONE and we get 2 warnings in the logs HHH000445 and HHH000444 .
Andrea Boriero's solution seems to solve the WARN in logs problem. |