Spring Boot Practice Test

Spring Boot Transaction Management Concepts Questions and Answers

Free · Instant Results

An `OrderService` method, annotated with `@Transactional`, calls a public method in an `InventoryService` bean which is annotated with `@Transactional(propagation = Propagation.REQUIRES_NEW)`. If the `InventoryService` method completes successfully, but an unhandled exception is thrown later within the `OrderService` method, what will be the final state of the database changes?
▶ Start Practice Test