이 콘텐츠는 선택한 언어로 제공되지 않습니다.
30.4.8. Troubleshooting
This section will describe some common locking problems and their solution.
30.4.8.1. Locking Behavior Not Working 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Many JBoss users observe that locking does not seem to be working and see concurrent access to their beans, and thus dirty reads. Here are some common reasons for this:
- If you have custom
container-configurations, make sure you have updated these configurations. - Make absolutely sure that you have implemented
equalsandhashCodecorrectly from custom/complex primary key classes. - Make absolutely sure that your custom/complex primary key classes serialize correctly. One common mistake is assuming that member variable initializations will be executed when a primary key is unmarshaled.