The annotation is honoured by a proxy that wraps the bean. Calling one method of the bean from another goes straight through `this`, never touches the proxy, and runs with no transaction at all - with no warning anywhere.
Run this yourself in the Online Java Compiler, spin up a live REST API in the API Sandbox, or practise with Java interview questions.
Published 2026-08-25