Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Purnendu Das, 1 year ago
no transaction is in progress; nested exception is javax.persistence.TransactionRequiredException: no transaction is in progress
via Spring JIRA by Purnendu Das, 2 years ago
no transaction is in progress; nested exception is javax.persistence.TransactionRequiredException: no transaction is in progress
via Stack Overflow by Chris
, 2 weeks ago
-> my.class.path.entity.resource.site.Site; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : my.class.path.entity.resource.mobile_resource.person.Person.currentSite -> my.class.path.entity.resource.site.Site
via Stack Overflow by Tushar Banne
, 7 months ago
no transaction is in progress; nested exception is
via Stack Overflow by Syngularity
, 1 year ago
Executing an update/delete query; nested exception is javax.persistence.TransactionRequiredException: Executing an update/delete query
via Stack Overflow by Charith
, 1 year ago
Executing an update/delete query; nested exception is javax.persistence.TransactionRequiredException: Executing an update/delete query
org.springframework.dao.InvalidDataAccessApiUsageException: no transaction is in progress; nested exception is javax.persistence.TransactionRequiredException: no transaction is in progress at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:289) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:97) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:212) at org.springframework.orm.jpa.JpaAccessor.translateIfNecessary(JpaAccessor.java:152) at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:190) at org.springframework.orm.jpa.JpaTemplate.flush(JpaTemplate.java:281) at javaapplication5.TripDaoimp.save(TripDaoimp.java:40) at javaapplication5.TestService.save(TestService.java:35) at javaapplication5.Test.setTrip(Test.java:32) at javaapplication5.Main.main(Main.java:25)Caused by: javax.persistence.TransactionRequiredException: no transaction is in progress at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:294) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:346) at $Proxy17.flush(Unknown Source) at org.springframework.orm.jpa.JpaTemplate$8.doInJpa(JpaTemplate.java:283) at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:185) ... 5 more