Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Multi-Tenant] Use Single SessionFactory #68

Open
alecwhittington opened this issue Oct 5, 2012 · 1 comment
Open

[Multi-Tenant] Use Single SessionFactory #68

alecwhittington opened this issue Oct 5, 2012 · 1 comment
Assignees

Comments

@alecwhittington
Copy link
Member

use a single SessionFactory (the current code will create a SessionFactory for each tenant, so start up time becomes an issue)

@ghost ghost assigned chrisrichards Oct 5, 2012
@seif seif modified the milestone: 3.0 Apr 26, 2015
@seif
Copy link
Member

seif commented Jan 23, 2016

@Shatl this is how this used to work:

http://yellowfeather.co.uk/blog/multi-tenancy-on-sharp-architecture/

The issue is that each factory takes a long time, and alternatively we can use the nhibernateSessionContext to switch dbs.

@cd21h cd21h removed the Backlog label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants