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.
I downloaded the patched version
unfortunately one problem is fixed the other is still there
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
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.
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"
Yes sorted thanks
Have a good Christmas
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:
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!
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 email@example.com (use a subject like HIBERNATE so I don't delete it accidentally ) .
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
Alban, thanks for your email!
Marc Anthony, I can't get this DM thing to work, can you please mail me?