About 52 results
Open links in new tab
  1. Spring - @Transactional - What happens in background?

    I want to know what actually happens when you annotate a method with @Transactional? Of course, I know that Spring will wrap that method in a Transaction. But, I have the following doubts: I heard...

  2. transactions - Difference between transactional and non-transactional ...

    Mar 11, 2016 · A non-transactional database would probably have better performance because it doesn't have to worry about rolling back changes. The individual data in the non-transactional …

  3. transações - Funcionamento do @Transactional do Spring Framework ...

    1 - Na documentação do Spring é descrito o uso de @Transactional do Spring nas classes de regra de negócio(ProdutosService por exemplo) tem algum motivo especial para se usar essa anotação …

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

    What does @Transactional do? [duplicate] Asked 12 years, 8 months ago Modified 6 years, 5 months ago Viewed 28k times

  5. When should we use @Transactional annotation? - Stack Overflow

    Mar 9, 2024 · I wanted to know when we should use @Transactional in Spring Boot Services. Since JpaRepository's save() method is annotated with @Tranasactional is it required for me to add that …

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

    Oct 24, 2011 · If you have a service calling several DAOs, the service needs to have a @Transactional annotation as well. Otherwise each DAO call start and commits new transaction before you throw an …

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

    We use @Transactional annotation when we create/update one more entity at the same time. If the method which has @Transactional throws an exception, the annotation helps to roll back the …

  8. Spring transaction REQUIRED vs REQUIRES_NEW - Stack Overflow

    Using REQUIRES_NEW is only relevant when the method is invoked from a transactional context; when the method is invoked from a non-transactional context, it will behave exactly as REQUIRED - it will …

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

    Feb 24, 2016 · Always make your outermost method transactional, also the second won't work with default Spring AOP (it will work when using ASpectj and load or compile time weaving but not by …

  10. SpringBoot JPA need no .save () on @Transactional? [duplicate]

    Oct 12, 2017 · I have short question: Do I need a repo.save(x) call on @Transactional methods? I ask cause I see changes on my DB without save, and read no clear docs about it. So is it working as …