SyntaxFix
Write A Post
Hire A Developer
Questions
You can use
Restrictions.eqOrIsNull("status", status)
insted of
status == null ? Restrictions.isNull("status") : Restrictions.eq("status", status)