Adapt JPA callback to newest spring-sync