Hi Prashant Guleria ,
can you please try if the issue persist also with the latest version of Hibernate, 6.2.2.Final thanks?
In case it still fails can you please provide a test case?
Thanks