Annotation 2 « Transaction « Spring Q&A





1. @Transactions annotation doesn't rollback the transaction    forum.springsource.org

Mar 1st, 2009, 02:48 PM #1 nambi View Profile View Forum Posts Private Message Visit Homepage Junior Member Join Date Oct 2008 Posts 23 @Transactions annotation doesn't rollback the transaction I ...

2. @Transactions annotation doesn't rollback the transaction during an Exception    forum.springsource.org

Mar 2nd, 2009, 01:16 AM #1 nambi View Profile View Forum Posts Private Message Visit Homepage Junior Member Join Date Oct 2008 Posts 23 @Transactions annotation doesn't rollback the transaction during ...

3.  and TransactionProxyFactoryBean in same ApplicationContext    forum.springsource.org

and TransactionProxyFactoryBean in same ApplicationContext Hi We have a problem starting up ApplicationContext. We have "old" system (implementation started with Spring 1.x). We use TransactionProxyFactoryBeans to handle transactions. Everything works ...

4. Help Needed for Annotation Based Transaction Implementation    forum.springsource.org

Help Needed for Annotation Based Transaction Implementation Hi, My Current project is using Struts + Spring + Hibernate + Jackrabbit as CMS. I have method which does 1. Database updating / ...

5. Problem using @Transactional annotation    forum.springsource.org

Problem using @Transactional annotation Hello, I am having some trouble trying to use the @Transactional annotation and would like to know if anyone could help.. I am using Spring Version 2.0, ...

6. Problem with @Transactional annotation    forum.springsource.org

I have problem defining @Transactional annotation on the class. I use Eclipse 3.2 and getting error " Transactional can not be resolved to a type" I use spring.jar (from Spring 2.5 ...

7. having trouble with @Transaction annotation    forum.springsource.org

having trouble with @Transaction annotation I have a Manager class setup to handle creating an entity. Initially I had the @Transactional(readOnly = true) annotation at the class definition. This was working ...

8. Wiring Hibernate Transaction Management with Annotations    forum.springsource.org

Wiring Hibernate Transaction Management with Annotations Hi, I am trying to wire the HibernateTransactionManager using annotations and for some reason it is not working. I am not sure if it is ...

9. @Rollback annotation not working    forum.springsource.org

@Rollback annotation not working Hi All. I am using @Rollback annotation in a test class . public class RollbackTest extends AbstractAnnotationAwareTransactionalTests{ @Transactional @Rollback(true) public void testInsertProgram() { //logic to call dao ...





10. Spring @Transactional Annotation Best Practice    forum.springsource.org

We are currently discussing the Best Practice for placing the @Transactional annotations in our code. Do you place the @Transactional in the DAO classes and/or their methods or is it better ...

11. @Transactional annotation doesn't work in Class with @Service, help    forum.springsource.org

@Transactional annotation doesn't work in Class with @Service, help I use the Spring + JPA, and because of the benifit of annotation, I try to use @Transactional to declare transaction, And ...

12. annotated @Service with transactional xxml configuration    forum.springsource.org

Hi to everyone, I'm trying to understand if using the annotation @Component over a java class to declare it as a service, permits to use the management of the transaction via ...

13. TypeMismatchException when using annotation driven transaction manager.    forum.springsource.org

Nov 10th, 2009, 03:08 PM #1 srikanthradix View Profile View Forum Posts Private Message Member Join Date Nov 2007 Posts 87 TypeMismatchException when using annotation driven transaction manager. The XML code ...

14. Understanding Annotation Transaction Boundries    forum.springsource.org

Understanding Annotation Transaction Boundries Just starting a project and using Spring for the first time in a while and trying to understand annotation driven transactions. * JPA/Eclipselink 1.2.0 * Spring 2.5.6 ...

15. Annotation-based and xml-based transaction definitions precedence    forum.springsource.org

Annotation-based and xml-based transaction definitions precedence I couldn't find a definitive answer to this in the docs, and although there seems to be a logical answer, one can't be sure. The ...

16. Qn about @Transactional annotations    forum.springsource.org

Qn about @Transactional annotations Hi All, I've been reading through the Spring docs, is adding transaction support to a DAO class as simple as: 1) Define a transaction manager in Spring's ...





17. update transaction on entity (Annotation based config Hibernate-JPA, Spring 2.5)    forum.springsource.org

update transaction on entity (Annotation based config Hibernate-JPA, Spring 2.5) -------------------- persistence-context.xml Code:

18. Error...: 'org...transaction.annotation.AnnotationTransactio nAttributeSource#0'    forum.springsource.org

I'm just recently trying out Spring 3. All I want is use the and . With Spring 2.5 I didn't come across these errors. http://pastebin.ca/1764072

19. Simple Qn. on annotation-driven transactions    forum.springsource.org

Hi All, I'm looking at upgrading one of my current systems to use annotation-driven transactions. If I annotate one of my R/W methods as: Code: @Transactional(propagation=Propagation.REQUIRED, readOnly=false) public void deleteLink(TravelTimeLink link) ...

20. Problem with annotation Transactional    forum.springsource.org

Problem with annotation Transactional Hi, I try to use the Annotation @Transactional using Spring 3.0.0. For open and closing the session, I'm using the org.springframework.orm.hibernate3.support.OpenSes sionInViewFilter in my web.xml I allway ...

21. Error in nested method annotated with Spring-transaction    forum.springsource.org

Error in nested method annotated with Spring-transaction Hi, I have a question about the following behavior in the spring-transaction: When the following code is executed the transaction will correctly be committed ...

22. nested @Transactional annotations, rollback    forum.springsource.org

Hi, I need some help understanding the @Transactional behavior: I have two service methods (originally in different Service classes). One (B) calls the other (A). A throws an Exception which must ...

23. Transactional annotation doesn't work correctly    forum.springsource.org

Apr 18th, 2010, 05:01 AM #1 igorg View Profile View Forum Posts Private Message Junior Member Join Date Nov 2007 Posts 17 Transactional annotation doesn't work correctly I try to use ...

24. [newb] Annotation based Transaction Manager    forum.springsource.org

[newb] Annotation based Transaction Manager Hey, I'm trying to make use of transactions, but thus far I've failed: Code: ...

25. Spring @Transactional annotation not working with auto-wiring?    forum.springsource.org

Spring @Transactional annotation not working with auto-wiring? My application uses Spring auto-wiring to configure the beans. I have just tried adding @Transactional and the expected proxies do not seem to be ...

26. Tx not commiting records using @Transactional and     forum.springsource.org

Tx not commiting records using @Transactional and Hi There, I'm testing out my persistence layer in a small console application before moving it to the webapp. I am using Spring ...

27. Spring ignores readOnly=false in transaction annotation    forum.springsource.org

Spring ignores readOnly=false in transaction annotation We have customer AuditTrail listener defined in hibernate.config.xml. In addition we use Hibernate Search that add its own listeners to persistent events. I try to ...

28. Multiple transaction managers with @Transactional annotation    forum.springsource.org

Multiple transaction managers with @Transactional annotation I have generic manager which is annotated with @Transactional annotations. There are also 2 groups of service managers which inherits generic manager 1) x.y.service1.* - ...

29. @Transactional and in several bundles    forum.springsource.org

@Transactional and in several bundles Hello, I'm in trouble using @Transactional and in several OSGi bundles deployed together (using SpringSource DM Server). Quick sum-up of my concerns: After some ...

30. Load-time weaving without @Transactional annotation    forum.springsource.org

Load-time weaving without @Transactional annotation Hello, Working with SpringSource DM Server 2.0.0, I was used to use annotations to manage transactions, using and to set ...

31. Difference @Require and @Transaction annotation    forum.springsource.org

I Have two Questions: 1. what is difference between @Require and @Transaction annotation? 2. why we need this annotation, it is compulsory to use? Thank You,

32. Implementing a custom annotation like @Transactional    forum.springsource.org

Hi, So, I've just begun reading up on Aspects and AOP with Spring. After reading this article: http://www.javalobby.org/java/forums/t44746.html I've been playing around with it a bit. Now, I'd like to be ...

33. Spring Transaction using annotation    forum.springsource.org

Hi I am attempting to start Spring Transactions declaratively the following ways: //in my source file I have set my transaction manager .. ...

34. Spring/Hibernate Annotations failing to create transactions    forum.springsource.org

Spring/Hibernate Annotations failing to create transactions Hello everyone, I'm trying to setup a new project that uses Spring Annotations and Hibernate to manage transactions, but I seem to be having some ...