w.finishTime > ?2 AND w.finishTime < ?3
(w.finishTime > ?2 AND w.finishTime < ?3) or w.finishTime = ?2 or w.finishTime = ?3
if you want to include ?2 ?3
Hello, darth tux
Thanks, I found the error. In the EjbBean file, I specify
the finishTime and beginTime as java.lang.String
so when jboss running, it gives exception that I must
use "<>" or "=" operation. How stupid I am.