Entity DAO com.soffid.iam.model.RuleEntityDao [Entity]
Description
DAO methods
findByDescription
select rule
from com.soffid.iam.model.RuleEntity as rule
where rule.tenant.id=:tenantId and (rule.description like :description or :description is null or rule.name like :description)
select rule from com.soffid.iam.model.RuleEntity as rule join rule.roles as roles join roles.role as role where rule.tenant.id=:tenantId and role.id=:roleId