HQL运算符

QBC运算符

含义

=

Restrictions.eq()

等于equal

<> 

Restrictions.ne()

不等于not equal

Restrictions.gt()

大于greater than

>=

Restrictions.ge()

大于等于greater than or equal

Restrictions.lt()

小于less than

<=

Restrictions.le()

小于等于less than or equal

is null

Restrictions.isnull()

等于空值

is not null

Restrictions.isNotNull()

非空值

like

Restrictions.like()

字符串模式匹配

and

Restrictions.and()

逻辑与

and

Restrictions.conjunction()

逻辑与

or

Restrictions.or()

逻辑或

or

Restrictions.disjunction()

逻辑或

not

Restrictions.not()

逻辑非

in(列表)

Restrictions.in()

等于列表中的某一个值

not in(列表)

Restrictions.not(Restrictions.in())

不等于列表中任意一个值

between x and y

Restrictions.between()

闭区间xy中的任意值

not between x and y

Restrictions.not(Restrictions..between())

小于值X或者大于值y

最新文章

  1. 在公有云AZURE上部署私有云AZUREPACK以及WEBSITE CLOUD(一)
  2. Postgresql扩展及UUID
  3. HDU 1890 区间反转
  4. 教你怎么安装RabbitMQ
  5. php验证码封装
  6. 一、Bitmap的recycle问题
  7. @property、@synthesize和dynamic的用法
  8. UEditor1.4.3.3实现图片上传、删除功能
  9. Mysql安装本地数据库
  10. Project facet Java version 1.8 not supported
  11. nacos-server集群 安装、运行(ubuntu)
  12. Codeforces Round #538 (Div. 2)
  13. 一个SQL查询出每门课程的成绩都大于80的学生姓名
  14. iOS UI基础-10.0 QQ聊天布局之键盘及文本使用
  15. Div和Span
  16. 固态硬盘SSD,机械硬盘HDD,4K速度对比。
  17. java学习笔记整理
  18. Java8新特性 集合的stream的map
  19. HDU 4545 (模拟) 魔法串
  20. Python使用OpenCV实现简单的人脸检测

热门文章

  1. 改变querystring值,然后重定向
  2. WebStorm使用JetBrains IDE Support调试
  3. 《Linux命令行与shell脚本编程大全 第3版》Linux命令行---50
  4. 共享VIM配置文件
  5. 补不manjaro系统
  6. The C programming language [book]
  7. 三个div向左浮动不在同一行,向右浮动在同一行的解决办法
  8. web前端生成图片之探索踩坑
  9. MariaDB+Galera+Haproxy+Keepalived搭建集群
  10. - &gt; 动规讲解基础讲解六——编辑距离问题