日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Restrictions查询用法

發布時間:2023/12/13 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Restrictions查询用法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Restrictions查詢用法

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

轉載于:https://www.cnblogs.com/821067197qqcom/p/9394598.html

總結

以上是生活随笔為你收集整理的Restrictions查询用法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。