It turns out the warning will only be logged when using Oracle: it only triggers when org.hibernate.dialect.Dialect.useFollowOnLocking() is true.