I have a UserEntity(1) -> Surveys(m) relation.
When i am loading the UserEntity and its corresponding Surveys, it is caching the associations somewhere. So even if i delete the Survey's, it is not refreshing that.
If i restart the JBOSS Server then it is refreshing.
I guess there is some cache-time-out.
Pls guide me.
Please do not cross-post.
What commit option are you using? This would be normal behaviour for commit option A. For option D there is such a timeout. For options B/C it should not happen and it could be a bug in either your code or JBoss.