HQL quot;is nullquot; And quot;!= nullquot; 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 列上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!