With our upgrade from JBoss 7 to Wildfly 10 we have noticed a difference with the upgrade from Hibernate 4 to 5.
In Wildfly 10, if the flush mode is set to "MANUAL" and we execute an entityManager "native query", the entityManager is flushed prior to the query executing. With JBoss 7 and Hibernate 4 this was not the case in this scenario.
Is there a configuration flag that possibly controls this behavior we can change?
Thanks!
Cory.