Class TwoPhaseLoad

  • public final class TwoPhaseLoad
    extends Object
    Functionality relating to the Hibernate two-phase loading process, that may be reused by persisters that do not use the Loader framework
    • Method Detail

      • addUninitializedCachedEntity

        public static void addUninitializedCachedEntity​(EntityKey key,
                                                        Object object,
                                                        EntityPersister persister,
                                                        LockMode lockMode,
                                                        Object version,
                                                        SharedSessionContractImplementor session)
        key - The entity key
        object - The entity instance
        persister - The entity persister
        lockMode - The lock mode
        version - The version
        session - The Session