[hibernate-dev] Multi-tenant roadmap
Peter Yuill
peter at yuill.id.au
Mon Jun 20 03:57:02 EDT 2011
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
More information about the hibernate-dev
mailing list