@Version behaves differently

I am trying to migrate from quarkus 2.15.3 to 3.2.0, this means the hibernate version is changed from 5.6 to 6.2. My question is - was there a changed made regarding automatic lock version increase? We have a lockVersion attribute annotated with @Version and until now the value was increased every time a persist was called on the entity but from now it seems to increase only if there are changes on the entity.

Thank you in advance!
Kind regards,
Enikö Török

I don’t recall that this was an intentional change. Please create an issue in the issue tracker(https://hibernate.atlassian.net) with a test case(https://github.com/hibernate/hibernate-test-case-templates/blob/master/orm/hibernate-orm-6/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java) that reproduces the issue.