nest transaction « Transaction « Spring Q&A





1. short and easy question on spring nested transactions    stackoverflow.com

If I have the transactionable methods A,B,C and A calls B,C ; then, C throws exception that is not caught inside A. My question is if B will be rolled back or ...

2. Nested @Transactional    stackoverflow.com

Is it possible to nest @Transactional annotated methods in spring? Consider something like this:

@Transactional
public void a() {
    obj.b();
}

@Transactional
public void b() {
    // ... 
}
What happens ...

3. Nested Transaction using Spring and Hibernate    stackoverflow.com

In my app, there are multiple steps where many commits to the database will be made sequentially through multiple methods. Example:

A -> B -> C
       -> ...

4. Nested Spring Transaction never rollback    stackoverflow.com

I am working on a service layer that logs to a database as it performs tasks. I want to ensure that this log doesn't roll back whenever an error occurs, as ...

5. Nested transactions    forum.springsource.org

Nested transactions Im not too sure whether I understand the concept of PROPAGATION_REQUIRED Classic definition says execute within a current transaction, create a new transaction if none exists" Imagine I define ...

6. Hibernate, nested transaction scenario    forum.springsource.org

Feb 9th, 2011, 09:26 AM #1 erhaminus View Profile View Forum Posts Private Message Junior Member Join Date Feb 2011 Posts 4 Hibernate, nested transaction scenario Hello all, I have the ...

7. Using nested transaction with JPA    forum.springsource.org

Using nested transaction with JPA I want to use nested transaction using spring's declarative transaction management. I am using JPA transaction manager which doesn't support nested transaction (propagation). Even JTA implemeations ...

8. Nested transaction in spring?    forum.springsource.org

9. Rollbacking nested transactions    forum.springsource.org

Rollbacking nested transactions Imagine the following situation: Code: public class C1 implements I1{ private I2 i2; public void method(){//[1] try{ i2.method2(); } catch (SomeRuntimeException ex){ //It is normal situation in this ...





10. GlobalRollback inside nested transactions    forum.springsource.org

GlobalRollback inside nested transactions Hi, When 'setGlobalRollbackOnParticipationFailure' of my TransactionManager is set to the default of 'true' a nested transaction (PROPAGATION_NESTED) will affect the outer transaction. This isn't what I expect ...

11. Nested Transaction does not rollback for Throwable    forum.springsource.org

Nested Transaction does not rollback for Throwable Hi all I have an outer bean IAstuteCallback which calls an inner bean IDataHandler (in a loop and I want each loop to commit ...

12. Nested transaction question    forum.springsource.org

Hello, I want to make nested transactions with the DataSourceTransactionManager. I have DAO-Code that uses the TransactionTemplate with the DataSourceTransactionManager. Normally the transaction is done in the DAO for the JSF ...

13. How to configure NESTED transactions    forum.springsource.org

How to configure NESTED transactions I am trying to configure a Logical Unit of Work for the RestartSample. I have modified RestartFunctionalTests so that there is only one invokation of runJob() ...

14. @Transactional behaviour nested methods    forum.springsource.org

Internal method calls aren't proxied (as clearly explained in chapter 6.6.3 of the reference guide). So if there is a transaction method2 will participate in it, if there is no transaction ...

15. Nested Transaction not flushed    forum.springsource.org

I seem to be having a problem with a nested transactions & a org.hibernate.exception.ConstraintViolationExcepti on I have the following scenario: Code: -- start prop new tx -- service1.doStuff() service2.doStuff() -- start ...

16. nested transaction    forum.springsource.org

nested transaction hi i have problem with nested transaction;i use spring + hibernate. I have two transaction methods of two differente class(metA() and metB()). 1-metA() start 2-metA() call metB() 3-metB() start ...





17. nested method transaction with spring and hibernate    forum.springsource.org

hi i have problem with nested transaction;i use spring + hibernate. I have two transaction methods of two differente class(metA() and metB()). 1-metA() start 2-metA() call metB() 3-metB() start and do: ...

18. Nested methods ,transactions and query sequencing    forum.springsource.org

Nested methods ,transactions and query sequencing Hello everyone i have strange problem which i hope someone can point out quickly what iam missing I have a classA public Class A { ...

19. Pointcut for nested transaction    forum.springsource.org

Pointcut for nested transaction Code:

20. Nested Transaction Question...    forum.springsource.org

Nested Transaction Question... Hi, I am having a small problem with my transactional structure... I have a more complex method which requires executing 2 searches (1 search and 1 lookup) on ...

21. Nested transaction issue    forum.springsource.org

Aug 19th, 2009, 03:59 PM #1 Fetch View Profile View Forum Posts Private Message Junior Member Join Date Aug 2009 Posts 4 Nested transaction issue Hello, I'm using JBoss 4.2.3, Spring ...

22. Nested transactions not supported after upgrade?    forum.springsource.org

Nested transactions not supported after upgrade? Hi, I upgraded Spring from 2.0.8 to 2.5.6, further more I upgraded Hibernate from 3.2.5 to 3.3.2 and now I get a strange error. This ...

23. Nested Transactions    forum.springsource.org

Nested Transactions I have a test class running under Junit 4; The class extends AbstractTransactionalJUnit4SpringContextTests. The test class has @Test methods which callsa method in another class that is marked as ...

24. Nested Transactions    forum.springsource.org

Are you using Hibernate or other ORM tool? If so your sessions are usually thread local meaning that if you start a new Thread you will have to create a new ...

25. Issue with rolling back NESTED transactions    forum.springsource.org

Issue with rolling back NESTED transactions Hi, I am trying out an auto-rollback on exception using spring-hibernate, but it seems to be not working as expected. My requirement is such that, ...