tags:

views:

24

answers:

0

Hi there,

I'm facing a strange problem: I've using spring to manage my dao layer in my portlet app. Now something weird happens, if two users with different languages accessing the same table nearly parallel.

Example: User A (language 4) access table X, a few seconds after this User B (language 5) access table X. Now: User A gets language 5, User B language 4.

The entity class has a implemented hashcode. I've to mention something: I'm triggering the dao as property from a jsp. Could this be a problem?