TransactionRequiredException « Transaction « Spring Q&A;

Home
Spring Q&A;
1.Annotation
2.AOP
3.Batch
4.Bean
5.Binding
6.Context
7.Core
8.Database
9.Development
10.EJB
11.Exception
12.File
13.GWT
14.Integration
15.Internationalization
16.Java EE
17.Job
18.JPA
19.JSF
20.Message
21.MVC
22.MVC Controller
23.Object
24.Remote
25.Roo
26.Security
27.Session
28.Spring Tool Suite
29.Struts
30.Test
31.Thread
32.Transaction
33.Web
34.Web Service
35.XML
Spring Q&A; » Transaction » TransactionRequiredException 

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, java2s.com  | Contact Us | Privacy Policy

Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.