I need a Spring Data JPA (Postgresql) query that searches for a
java.util.Date values. My first attempt at the query was this:
List<PricingCoreViewEntity> findByProductIdAndEffectiveDateIn( String productId, @Temporal(TemporalType.DATE) List<Date> effectiveDates, Sort orderBy);
But that doesn’t work because
List is not temporal, it’s the dates within the
List that are. So how else can I write this? TIA.
Just remove the annotation, it’s not needed.