Example of querying by dates in JPQL.