Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
に続くことの違いは何ですかHQLs、
HQLs
1. "from Object where field is null" 2. "from Object where field = null"
上記の説明のうち、正しいものはどれですか? 電話をかける方法nullはHQL?
null
HQL
ANSI SQLでは、「Null = Null」は真ではなくNullを返します。そのため、何かがnullに等しい場所を選択しようとしている場合、答えが「はい、nullです」である必要がある場合は、使用する必要があります"無効です"。