This content has been marked as final.
Show 3 replies
-
1. Re: s:hasPermission - how to avoid multiple DB hits ?
swd847 Oct 19, 2009 10:16 PM (in response to kipod)You could try using the second level cache / query cache.
Otherwise I don't know. Personally I user a custom permission manager that caches the results in session scope so I am not very familiar with jpaPermissionStore. Perhaps you could create a session scoped component that wraps its functionality but caches the results of permission lookups?
-
2. Re: s:hasPermission - how to avoid multiple DB hits ?
kipod Oct 20, 2009 2:13 AM (in response to kipod)Thank you! I will try to do it with a second level cache first.
-
3. Re: s:hasPermission - how to avoid multiple DB hits ?
nico.ben Sep 17, 2010 9:33 AM (in response to kipod)Hi Jarder,
have you tried with a second level cache? Was it succesful?
I have the same problem with a lot of db hits.Bye,
Nicola