
Fix Transactional Not Working on Self Called Methods
Find out why @Transactional is ignored on a self call, a private method or a swallowed exception, and fix it by moving the call across a bean boundary.
Tag
18 posts

Find out why @Transactional is ignored on a self call, a private method or a swallowed exception, and fix it by moving the call across a bean boundary.

Learn what BeanFactory and ApplicationContext each provide in Spring, what the context adds, and why application code almost always uses the context.

Follow a Spring bean through definition, instantiation, injection, initialization callbacks, use and destruction, with the order of each hook shown in code.

Understand Spring bean scopes: singleton, prototype, request, session and application, how each behaves, and the thread safety traps of the default.

Debug Spring bean wiring: read the failure analysis, list beans with Actuator, use the conditions report and turn on bean creation logging.

Follow one HTTP request through the Spring MVC DispatcherServlet: handler mapping, interceptors, arguments, message conversion and exceptions.