でこれを選択しています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