Hibernate 不支持 Oracle 的 TIMESTAMPDIFF
它在 Oracle 中出现错误,但在 MySql 中运行良好
**Query** :select app from Application app where app.id not in ( select aml.referenceId from AuditMailLog aml where app.id = aml.referenceId and aml.event = 'application_expiry_reminder' and aml.referenceTableName = 'application' ) and TIMESTAMPDIFF(DAY, created_date, CURRENT_TIMESTAMP()) >= 30 and status in (0,1)
谁能告诉我有什么替代方法?