Hibernate ogm infinispan @manytoone bidirectional issue on wildfly 17

I finally created a test case to replicate the issue and it seems a bug.
I’m still working on it to figure out a solution.