HQL“为空"并且“!= null"在 Oracle 列上 [英] HQL "is null" And "!= null" on an Oracle column
本文介绍了HQL“为空"并且“!= null"在 Oracle 列上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否休眠将HQL中的column != null
转换为SQL中的column is null
?
Does hibernate convert column != null
in HQL to a column is null
in SQL?
推荐答案
那是你应该在 hibernate 中使用的二元运算符
That is a binary operator in hibernate you should use
is not null
看看 14.10.表达式
这篇关于HQL“为空"并且“!= null"在 Oracle 列上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文