2025-06-30 16:56:55,902 ERROR [com.eurostar.app.edcs.dataaccess.common.CommonDAImpl] (default task-1) Exception occured while executing addAppLog method : javax.persistence.TransactionRequiredException: no transaction is in progress
This is the error i get after migrating hibernate from version 3 to 5.4 ?
Any resolution would be great help.
Thanks in advance
You can look through the various migration guides that we write for every release and then you will hopefully find this:
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.