see https://github.com/spring-projects/spring-data-commons/issues/3170 and https://github.com/spring-projects/spring-framework/issues/28797