GraphQL vs REST
What is transaction propagation?
Sometimes spring bean might need access to different resource like ApplicationContext, BeanFactory. Spring Framework provides a set of interfaces that can help spring bean to get access of required resource.
Different types of Propagation
1. Required
setBeanName makes bean aware of its name defined in container (Application Context). :heart:
:red_car:
:star:
simple trick to remember
Required | Smart Wife | |
Support | True | Supportive Wife |
Mandatory | False | Greedy Wife |
Never | False | Stupid Wife |
Not_Supported | False | Wife |
Requires_New | False | Wife |