hibernate/hibernate-orm — pull request #329 by sschulze (2012-05-08 12:06:28+00:00)
Title: HHH-7306 - SessionFactoryImpl#openSession() doesn't use CurrentTenantIdentifierResolver

If I create a SessionFactory with a CurrentTenantIdentifierResolver, SessionFactoryImpl#openSession() doesn't use it. Instead it tries SessionFactory#withOptions().openSession() which causes a HibernateException "SessionFactory configured for multi-tenancy, but no tenant identifier specified"