Spring, Hibernate and Ehcache - Wrong entities
Posted
by asrijaal
on Stack Overflow
See other posts from Stack Overflow
or by asrijaal
Published on 2010-05-27T13:13:54Z
Indexed on
2010/05/27
14:41 UTC
Read the original article
Hit count: 258
Hi there,
I've got a webapp which uses spring+hibernate for my data layer. I'm using 2nd level caching with ehcache as provider. Everything seems to work so far but sometimes we encounter a problem which I can't really figure out atm.
One of my tables is used for labels within the application - every user who logs access this table with his set language. Works for 90% of the time. But sometimes the user gets labels for the wrong language, e.g. instead of german everything turns to italian.
After a logout and login all labels are correct.
Does anyone of you encountered something like this? I'm not sure where to look at: spring+hibernate+ehcache is a solid package or is it not?
Cheers
© Stack Overflow or respective owner