Date literals in Hibernate

后端 未结 1 828
臣服心动
臣服心动 2020-12-19 06:50

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         


        
相关标签:
1条回答
  • 2020-12-19 07:21

    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'
    0 讨论(0)
提交回复
热议问题