[hibernate-dev] Multi-tenant roadmap
Steve Ebersole
steve at hibernate.org
Mon Jun 20 09:11:05 EDT 2011
Good point. To be honest I have not thought much about it. Do you have
suggestion(s)?
Not sure I much like overloading for getCurrentSession(String
tenantIdentifier)
On 06/20/2011 02:57 AM, Peter Yuill wrote:
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Steve Ebersole <steve at hibernate.org>
http://hibernate.org
More information about the hibernate-dev
mailing list