Caspian Borison, yes, you're correct about Session#getCurrentLockMode. That is obviously a better way to go than using the SPIs that I suggested. Please open a new Jira issue for your LazyInitializationException issue. I'm very interested in seeing your test case. |