Theoretically we’d be calling SessionFactoryImpl’s openSession() but we don’t get that far, because we can’t create the factory in the first place.