TransactionRequiredException and Spring Data

This post is about a recent problem I ran into using custom update queries in an application using Spring Data. I’ve had success with this in the past but this time I was trying to call the repository method directly from a lambda passed in a Spring Integration flow definition like so: IntegrationFlows.from(“myChannel”) … .handle(Integer.class, … More TransactionRequiredException and Spring Data