-
30. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
alban5650 Dec 21, 2018 6:19 AM (in response to kabirkhan)Thanks Kabir
As for a potential official Wildfly 15.0.1 release, I'm not personally in a rush to get it before the New Year.
If the issue is severe enough, you should probably consider another release or at least an official patch. I don't know how many people have got their hands on this version and how many might be affected by this issue, but I could see a flood of posts/issues being raised if there is no official patch being released before the next Wildfly 16 release.
Marc, let me know if you are happy to pick it up directly from the nightly CI link Kabir sent. Otherwise I'll send you a direct link of my build.
-
31. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
alban5650 Dec 21, 2018 6:32 AM (in response to marcanthony)marcanthony Still can't PM you for some reasons. Here is the link of my build:
https://drive.google.com/open?id=1M2eg3T7wJsnhPAjmSAibfVwrxj1f765P
I'll leave the file there for a couple of weeks.
-
32. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
marcanthony Dec 21, 2018 8:53 AM (in response to alban5650)Hi Alban
I downloaded the patched version
Thanks
unfortunately one problem is fixed the other is still there
-
33. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
marcanthony Dec 21, 2018 8:59 AM (in response to kabirkhan)Hi Kabir
I downloaded the patched version, it has fixed the issue of "XAER_RMFAIL: The command cannot be executed when global transaction is in the IDLE state"
but the "no transaction is in progress" issue is still there. Will try to put together a sample project to recreate the problem
Thanks
-
34. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
tomjenkinson Dec 21, 2018 9:23 AM (in response to marcanthony)marcanthony - I think simkam mentioned that could be due to HHH upgrades in comment 12 (Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final )
-
35. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
smarlow Dec 21, 2018 9:27 AM (in response to marcanthony)Have you tried configuring "
hibernate.allow_update_outside_transaction=true"? This is mentioned on https://github.com/hibernate/hibernate-orm/blob/5.2/migration-guide.adoc
This "no transaction is in progress" issue really deserves a separate discussion thread, if the above doesn't help.
-
36. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
marcanthony Dec 21, 2018 9:43 AM (in response to smarlow)Hi Scott
Sorry my bad, I had tried the property before the patched version and it didn't make any difference so I removed it. I can confirm that using the property set to true the problem is gone .
Is there potentially something wrong in my approach that requires the setting to be used? considering the default is false, and that in my application all updates are run within a transaction I am not sure
why the error is being thrown.
"Hibernate now conforms with the JPA specification to not allow flushing updates outside of a transaction boundary.
To restore 5.1 behavior, allowing flush operations outside of a transaction boundary, set hibernate.allow_update_outside_transaction=true"
Thanks
Marc
-
37. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
marcanthony Dec 21, 2018 9:45 AM (in response to tomjenkinson)Hi Tom
Yes sorted thanks
-
38. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
marcanthony Dec 21, 2018 9:47 AM (in response to alban5650)Thanks All
Have a good Christmas
-
39. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
brian.stansberry Dec 21, 2018 10:07 AM (in response to kabirkhan)I'm going to create an official 15.0.x branch on the wildfly/wildfly github repo, so once we have that we can point this job at it.
This forum post explains how to get a server zip from a CI job; the same basic instructions are applicable, it's just the CI job is different:
WildFly nightly builds available
We'll do a 15.0.1.Final at some point, by early next year at the latest.
Thank you everyone who participated in raising these issues! This is what makes open source software great!
-
40. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
kabirkhan Dec 21, 2018 11:07 AM (in response to brian.stansberry)Marc and Alban,
Can you please follow me here? I am trying to DM you, but it seems I can only do this if you follow me. We want to show you a little token of our appreciation since this bug has more significance than just the WF15 release.
Alternatively, you can email me on kkhan@redhat.com (use a subject like HIBERNATE so I don't delete it accidentally ) .
Thanks,
Kabir
-
41. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
alban5650 Dec 21, 2018 12:15 PM (in response to kabirkhan)kabirkhan Any excuse to gain followers
But more seriously, I had the same issue with Marc earlier. Following him did not seem to allow me to send him emails though!
Thank you all for your help in resolving this issue and I wish you all a great festive season. Did I ask how to get the attention of the developers in an early post? Well I probably did get more than I bargained for
-
42. Re: Issue with transaction/Hibernate persistence and MariaDB in Wildfly 15 Final
kabirkhan Dec 22, 2018 7:01 AM (in response to kabirkhan)Alban, thanks for your email!
Marc Anthony, I can't get this DM thing to work, can you please mail me?
Thanks