posted 14 years ago
in this condition all active user is coming if there entity status is active , but for super admin mstentity' entity is null admin is not displaying .
i want to put 'or' condition---
criteria.createAlias("mstentity", "me");
Criterion statusEntity = Restrictions.eq("me.status", Constants.ACTIVE_STATUS ); where me(entity) eq to null. plese tell how to do it