Can anyone point me to an example on how to use CURRENT_DATE
in a JPA query?
CURRENT_DATE
is specified in JPA but I haven't been able to make it work. I always get the unexpected token [CURRENT_DATE]
exception. Since it is specified in JPA all providers should comply with it right?
I'm using EclipseLink 2.0 BTW.
See Question&Answers more detail:os