でこれを選択していますSQL
。
HQL
を使用して変換するにはどうすればよいRestrictions.or
ですか?
select * from users where users.user_type = 1
or user.id = 1001;
1001
ではないuser_type = 1
でこれを選択していますSQL
。
HQL
を使用して変換するにはどうすればよいRestrictions.or
ですか?
select * from users where users.user_type = 1
or user.id = 1001;
1001
ではないuser_type = 1