在EJBQL中,如何比较两个日期值;假设
如果我用setParameter("start_date",new Date())设置查询参数,"Select e from Employee e where e.start_date > :start_date“;
运行时发生异常..
我等待你的建议
发布于 2009-12-30 19:20:08
好了,我找到解决方案了,很抱歉打扰你;
我需要使用setParameter("start_date",new Date(),TemporalType.DATE)
https://stackoverflow.com/questions/1979642
复制相似问题