I wonder how to use date literals in Hibernate query language. I did as follows in my JPA project (as Eclipselink the provider) and it works.
SELECT m FROM M
The reference documentation says:
Expressions used in the where clause include the following: [...] SQL literals 'foo', 69, 6.66E+2, '1970-01-01 10:00:01.0'
Expressions used in the where clause include the following: [...]