About 8,760,000 results
Open links in new tab
  1. Spring - @Transactional - What happens in background?

    For target beans annotated with @Transactional, Spring will create a TransactionInterceptor, and pass it to the generated proxy object. So when you call the method from client code, you're …

  2. java - What does @Transactional do? - Stack Overflow

    The transactional only changes your database connection to not auto commit. – OQJF. Commented Jul 10, ...

  3. Where does the @Transactional annotation belong?

    Jul 3, 2009 · @Transactional Annotations should be placed around all operations that are inseparable. Using @Transactional transaction propagation are handled automatically.In this …

  4. Spring @Transactional - isolation, propagation - Stack Overflow

    Dec 13, 2011 · @Transactional annotation describes transaction attributes on a method or class. @Autowired private TestDAO testDAO; …

  5. Annotation @Transactional. How to rollback? - Stack Overflow

    Oct 24, 2011 · It really works this way :-). If you have a service calling several DAOs, the service needs to have a @Transactional annotation as well. Otherwise each DAO call start and …

  6. java - javax.transaction.Transactional vs org.springframework ...

    Spring has defined its own Transactional annotation to make Spring bean methods transactional, years ago. Java EE 7 has finally done the same thing and now allows CDI bean methods to be …

  7. java - @Async and @Transactional - Stack Overflow

    Mar 2, 2022 · @Transactional commonly works with thread-bound transactions managed by PlatformTransactionManager, exposing a transaction to all data access operations within the …

  8. How to use @Transactional with Spring Data? - Stack Overflow

    You may add @Transactional later if you plan to add more logic to your service that deals with another tables / repositories - then there will be a point having it. If no - then your service …

  9. transações - Funcionamento do @Transactional do Spring …

    Agora imagine que você anotou o método de inserção do DAO2 com @Transactional(propagation=Propagation.REQUIRES_NEW) (algo que fazia sentido em …

  10. java - @Transactional, method inside method - Stack Overflow

    Feb 24, 2016 · I mean, a method should be Transactional when it have to be all done in a same transaction, and this depends for the programmer and the business logic. For example, Option …