| the getPersistenceContext method on SessionImpl is used also by internal methods within hot loops, for example when initializing many collections. The current code is not easily optimised, we should allow for an alternative accessor to be used by internal methods. |