I’d like to write a JPA Repository query that can findBy with two optional query parameters, startDate and endDate: startDate endDate Return null null All null endDate Before End startDate null After Start startDate endDate Between Start and End How can this be implemented concisely? For example, using …
Tag: spring-repositories
Spring Webflux – reactive repository saveAll(Iterable) vs saveAll(Publisher)
Small question about the webflux reactive repository, especially about the methods saveAll Flux saveAll(Iterable var1); versus Flux saveAll(Publisher var1); Wanted to compare, I wrote the following: In terms of “correctness” both codes are doing what is expected. Everything is persisted successful…