Romain Fromi We have this test case on GitHub which runs fine.
Maybe you have a different use case. You should fork Hibernate and send us a Pull Request with your test case that fails.