HQL“为空”并且“!= null”在Oracle专栏上 [英] HQL "is null" And "!= null" on an Oracle column

查看:100
本文介绍了HQL“为空”并且“!= null”在Oracle专栏上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hibernate HQL 中将列!= null 转换为列为空 in SQL

解决方案

应该使用

 不为空

查看 14.10 。表达式


Does hibernate convert column != null in HQL to a column is null in SQL?

解决方案

That is a binary operator in hibernate you should use

is not null

Have a look at 14.10. Expressions

这篇关于HQL“为空”并且“!= null”在Oracle专栏上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆