Lionel wrote:
> User user= (User)httpSession.getAttribute("user");
> if(user==null){

forgot:
user = userDao.findById(principal.getName());

>  user.setUserNbConnect(user.getUserNbConnect()+1);
> }


I need the user on each request for visibility filters and to display its 
name.
I don't want to load the user on each request, and would like to avoid 
second level cache... 




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to