Created a pull request : https://github.com/hibernate/hibernate-orm/pull/648
I would like to submit also a testcase or a JUnit test for this, but I am a little bit confused on how to do this ... I use Eclipse and Maven on my everyday work so no problem for me to generate a little Maven project demonstrating the problem but you are using Gradle and I do not know this tool ... Regarding JUnit test, first Eclipse with Gradle integration does not accept Hibernate projets (circular dependency ... I know it is because Eclipse and Gradle does not have the same view of what is a projet and its dependencies), second I do not see a good place on your source tree to put my JUnit test ... But if someone can give me some informations, I would be happy to provide testcase or JUnit test or both !
|