Ashish bharadwaj

Greenhorn
+ Follow
since Aug 03, 2010
Ashish likes ...
Eclipse IDE
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ashish bharadwaj

Hi All,

can you tell me what is second level hibernate cache

Ashish bharadwaj wrote:

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



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