As far as I understand hibernate is cluster-safe in case of a
*session-per-transaction* usage scenario. The session will never be serialized because it simply is closed by the time my SFSB is passivated, am I right?
But how about the *session-per-application-transaction* use case? In that case my 1st level session cache is full of objects, some of them instrumented by CGLIB. Thus, after passivation of my SFSB in one container another container wont be able to deserialize my objects in another VM.
So is it true that *session-per-application-transaction* cannot be used in a cluster? If yes, is there a way to generate the proxies at build time?
|