Which two options are valid optional attributes for Spring’s @Transactional annotation? (Choose two.)
Which two options are valid optional attributes for Spring’s @Transactional annotation? (Choose two.)
Two valid optional attributes for Spring’s @Transactional annotation are 'isolation' and 'propagation'. The 'isolation' attribute specifies the transaction isolation level, whereas the 'propagation' attribute defines the transaction propagation behavior. Both of these attributes are essential in managing transaction boundaries and behavior in Spring applications.
https://www.baeldung.com/transaction-configuration-with-jpa-and-spring @Transactional(propagation = Propagation.SUPPORTS, readOnly = true) https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/transaction/annotation/Transactional.html