Follow-on locking WARN message logged when query LockMode is NONE

Description

n 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 .

Activity

Show:

Andrea Boriero February 11, 2016 at 3:28 PM

I checked and yes it affect 5.07 and 5.1.

yes you can submit a PR at https://github.com/hibernate/hibernate-orm

Thanks

Andrea Boriero February 11, 2016 at 2:57 PM

Hi ,
does this issue affects 5.0.7 or 5.1 as well?

Victor Bucutea February 11, 2016 at 1:19 PM

soo .. To fix this I can make a PR for https://github.com/hibernate/hibernate-orm ?

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created February 11, 2016 at 9:18 AM
Updated June 2, 2016 at 3:50 AM
Resolved May 26, 2016 at 9:36 AM