I tested the recent multi-tenant code in hibernate 4 and it works well 
in the mode of the test case (manual session creation). Thanks guys, 
great work.

My question is about support for what I see as the more normal usage of 
SessionFactory getCurrentSession(). Looking at the current code I cannot 
see a way to tell any of the SessionContext implementations to use a 
specific tenant id when building the session in getCurrentSession(). Is 
this something that is being looked at, or are we stuck with manual 
session creation to use the multi-tenant feature?

Regards,
Peter
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to