表中signTime字段的值为2008-10-10 00:00:00
2008-10-10 01:00:00在页面中按时间查询信息我的sql是 "from Contract c where c.signTime = to_date('" + crmContract.getSignTime() + "','yyyy-mm-dd hh24:mm:ss'";hibernate 执行时 sql为 from com.cyc.services.crm.domaindata.CrmContract c where c.signTime = to_date('Fri Oct 10 00:00:00 CST 2008','yyyy-mm-dd hh24:mm:ss'报错 expecting CLOSE, found 'null'
2008-10-10 01:00:00在页面中按时间查询信息我的sql是 "from Contract c where c.signTime = to_date('" + crmContract.getSignTime() + "','yyyy-mm-dd hh24:mm:ss'";hibernate 执行时 sql为 from com.cyc.services.crm.domaindata.CrmContract c where c.signTime = to_date('Fri Oct 10 00:00:00 CST 2008','yyyy-mm-dd hh24:mm:ss'报错 expecting CLOSE, found 'null'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货