Find @Transactional on private functions

Proprietary

Spring's transaction proxy intercepts calls through the bean's public interface — private (and internal) methods are invoked directly on the target instance, bypassing the proxy entirely. The annotation is silently no-op. Make the method public or move the transaction boundary up the call chain.

org.openrewrite.kotlin.spring.FindTransactionalOnPrivate$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.spring.FindTransactionalOnPrivate$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.