HQL运算
来源:互联网 发布:两个byte数组合并 编辑:程序博客网 时间:2024/05/20 19:46
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
- HQL运算
- HQL运算符
- Restrictions HQL运算符对应
- Hibernate HQL运算符 QBC运算符
- 让hql支持按位与运算
- Hibernate的HQL和Restrictions运算符
- Hibenate HQL运算符和QBC运算符
- HQL
- hql
- hql
- HQL
- hql
- HQL
- HQL
- Hql
- HQL
- HQL
- hql
- SQLCE数据库的使用
- 计算程序行数的shell代码
- Oracle中设置自增主键
- redhat下搭建ftp服务器
- 中国方言文化在灭绝:上海人呼吁保护上海话
- HQL运算
- 几组特殊(内网等)ip详解
- linux学习笔记一
- ffmpeg命令使用
- RUP 概述
- 我们都一样
- 关于读取List
- Why some shortcuts say "Publisher cannot be verified"
- 设计模式-中介者模式