会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cdfive
To be a better developer!
博客园
首页
新随笔
联系
管理
订阅
2018年5月19日
hibernate ifnull
摘要: mysql中sql语句的ifnull函数,在hibernate的hql中可用coalesce代替。 例: mysql的sql:select ifnull(max(sort),0) from table; hibernate的hql:select coalesce(max(sort),0) from
阅读全文
posted @ 2018-05-19 18:31 cdfive
阅读(2501)
评论(0)
推荐(0)
公告