JAVA HIBERNATE中HQL问题
.find("FromArticlewhereyear(ar_createTime)=year(now())andweek(ar_createTime,1)=week(n...
.find(
"From Article where year(ar_createTime)=year(now()) and week(ar_createTime,1)=week(now(),1) order by ar_hits desc");
这是查询条件。。我想问 里面HQL什么意思?表里的创建时间等于当前时间? 展开
"From Article where year(ar_createTime)=year(now()) and week(ar_createTime,1)=week(now(),1) order by ar_hits desc");
这是查询条件。。我想问 里面HQL什么意思?表里的创建时间等于当前时间? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询