【问题标题】:Grails Integration test for a query having to_date?具有 to_date 的查询的 Grails 集成测试?
【发布时间】:2013-07-23 19:57:40
【问题描述】:

内存 H2 DB 中的 Grails 不支持 to_date 函数。 所以我通过论坛得到的建议是使用“提取”功能。 但不确定如何用 Extract 替换以下 to_Date。

to_date(currentDate,YYYY_MM_DD HH:MM.ss)..

提取-?

【问题讨论】:

标签: oracle grails h2


【解决方案1】:

【讨论】:

    猜你喜欢
    • 2014-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多