Issue Type: Bug Bug
Affects Versions: 4.1.9, 4.1.8, 4.1.7
Assignee: Unassigned
Components: core
Created: 19/Dec/12 6:54 AM
Description:

When you open StatelessSession on a SessionFactory with configured multitenancy, the session does not respect current tenant identifier supplied by CurrentTenantIdentifierResolver.

Instead an exception is thrown:
org.hibernate.HibernateException: SessionFactory configured for multi-tenancy, but no tenant identifier specified

This also affects MassIndexer in Hibernate Search.

Environment: Hibernate ORM 4.1.7, MySQL 5.5
Project: Hibernate ORM
Labels: core multi-tenancy
Priority: Major Major
Reporter: Zdenek Bzoch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira