Because this bug is so important for us I came up with a patch for hib 4.3.6. I created a few minimal test projects that illustrate how things used to work under 4.2.x, how they originally did not work under 4.3.x, and how the patch fixed these issues. The advantage of these tests is that you don't need wildfly to run them, just maven and mysql (should be easy to switch to another database). As I'm not an hibernate expert, and hardly know what the new 'load plans' are, there is a fair chance that my patch is far from perfect. I just checked that our application works correctly with the patched hibernate, and believe this patch might put the true experts on the correct track to finally fix the problem. Please let me know how to proceed ...
|