To retrieve appointments between 2 dates, you need to change your query logic to include "and" instead of "or" :
select a from Appointment
where apptDate>=fromDate and apptDate<=toDate
You CAN have inequality filers on the same property in appengine, but they can't be combined with OR.
See examples in gql reference, which should also apply to JPA.