Simplified JPA query buy using more natural properties and the BETWEEN operator.