TransactionRequiredException « Transaction « Spring Q&A





1. Hibernate JPA and Spring javax.persistence.TransactionRequiredException: no transaction is in progress    stackoverflow.com

entityManager.flush()
got follow excetion. I am using Hibernate JAP

2. Spring - unit tests - TransactionRequiredException    stackoverflow.com

I tried to make unit tests with Spring and tests are successfully executed, but my console shows:

1903 [Thread-3] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory  - Retrieved dependent beans for bean 'userDAO': [com.bontade.tests.unit.models.UserDAOTest]
1903 [Thread-3] DEBUG ...

3. Spring @Transactional - javax.persistence.TransactionRequiredException    stackoverflow.com

In the following schema Controller -> Service -> DAO I'm trying to make Service operations @Transactional in my UserService.fooFunction() i call

Entity e = dao.find(key)
e.setProperty(something)
dao.update(e)
in dao.update(e) at the end there is
em.flush() //EntityManager ...

4. Spring+OpenJPA TransactionRequiredException from delegate service method    stackoverflow.com

We're running into problems with Spring 3.0.5 transactional management and OpenJPA 2.0.1 and we can't seem to pinpoint the problem so any help is appreciated. The architecture is can be broken down ...

5. javax.persistence.TransactionRequiredException: no transaction is in progress    forum.springsource.org

Feb 10th, 2011, 01:23 AM #1 tracer021 View Profile View Forum Posts Private Message Junior Member Join Date Jun 2010 Posts 3 javax.persistence.TransactionRequiredException: no transaction is in progress I was trying ...

6. TransactionRequiredException with Jpa    forum.springsource.org

I've a TransactionRequiredException when I execute this method : Code: @Transactional public void deleteRole(String username) { Query q = em.createNativeQuery("delete from utilisateur where username=?1"); q.setParameter(1, username); q.executeUpdate(); } I have this ...

7. javax.persistence.TransactionRequiredException: no transaction is in progress    forum.springsource.org

Jun 25th, 2011, 05:33 AM #1 check View Profile View Forum Posts Private Message Junior Member Join Date Jun 2011 Posts 8 javax.persistence.TransactionRequiredException: no transaction is in progress Hi, We are ...

8. javax.persistence.TransactionRequiredException: no transaction is in progress    forum.springsource.org

Aug 3rd, 2011, 03:10 AM #1 Franklin Antony View Profile View Forum Posts Private Message Member Join Date Apr 2007 Posts 59 javax.persistence.TransactionRequiredException: no transaction is in progress I keep getting ...

9. TransactionRequiredException-WebApp using JPA and Spring's Transaction Management    forum.springsource.org

TransactionRequiredException-WebApp using JPA and Spring's Transaction Management I have deployed my web app in Tomcat container.Below is my app context,

10. Spring 2.5.3, Hibernate 3.2, JPA via @Annotations - TransactionRequiredException    forum.springsource.org

Apr 16th, 2008, 09:39 PM #1 jieryn View Profile View Forum Posts Private Message Junior Member Join Date Oct 2006 Posts 15 Spring 2.5.3, Hibernate 3.2, JPA via @Annotations - TransactionRequiredException ...

11. javax.persistence.TransactionRequiredException: no transaction is in progress    forum.springsource.org

Jan 25th, 2010, 10:53 PM #1 jtan View Profile View Forum Posts Private Message Junior Member Join Date Sep 2009 Posts 21 javax.persistence.TransactionRequiredException: no transaction is in progress I used Spring ...

12. JPA TransactionRequiredException or silent failure to update    forum.springsource.org

JPA TransactionRequiredException or silent failure to update In some of my Spring/JPA/Hibernate applications I keep hitting a problem where inserts and updates fail either silently or with a TransactionRequiredException. Strangely enough, ...

13. javax.persistence.TransactionRequiredException: no transaction is in progress    forum.springsource.org

Apr 17th, 2010, 04:27 PM #1 Denis View Profile View Forum Posts Private Message Junior Member Join Date Apr 2010 Posts 1 javax.persistence.TransactionRequiredException: no transaction is in progress Hello, i am ...

14. javax/persistence/TransactionRequiredException Error?    forum.springsource.org

javax/persistence/TransactionRequiredException Error? Anyone here have an idea why I get this error? Code: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/TransactionRequiredException I only ...

15. TransactionRequiredException: no transaction is in progress    forum.springsource.org

Nov 4th, 2010, 11:13 AM #1 mongole View Profile View Forum Posts Private Message Junior Member Join Date Oct 2010 Posts 6 TransactionRequiredException: no transaction is in progress Hello, I am ...