-
Executing an "update" query outside of a transaction using the code below was possible in Hibernate 5.1:
entityManager.createNativeQuery("delete from Employee").executeUpdate(); -
After moving from JBoss EAP 7.1 / Hibernate 5.1 to JBoss EAP 7.2 /
javax.persistence.TransactionRequiredException: Executing an update/delete query in Hibernate
Solution verified - Updated on
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
Issue
Subscriber Exclusive Content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.