hibernate hql from 后面接的是实体类,update后面接的是数据库表名?!
Stringhql="fromQueueRecordrwherer.queueState='N'andr.createTime>=?orderbyr.queueCoded...
String hql = "from QueueRecord r where r.queueState='N' and r.createTime>=? order by r.queueCode desc";
String hql = "update ds_queue_record set queue_state='P' create_time<=? and servicename=? and cate_code=?" ; 展开
String hql = "update ds_queue_record set queue_state='P' create_time<=? and servicename=? and cate_code=?" ; 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询