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