I didn’t know about Spring Data’s Specification. That’s an interesting option.
Thank you for your time and patience.