Suppose I have a Spring bean which has been marked with @Transactional at either class or method level, and I also have, in some Spring XML which uses <aop:config> to add transactional advice.
I think that both configurations can play nicely together, but when Spring creates its context and the proxies, in the event that the configurations are not compatible (eg. PROPAGATION_MANDATORY vs PROPAGATION_NEVER), then which config has seniority?
To make explicit the answer from the duplicate question, you use:
… where the lower of ‘X’ and ‘Y’ has priority.
Spring Docs on the subject