-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for the Multitenancy #25028
Comments
+1 by me. This feature is very much needed by us. |
There is a multitenancy blueprint: https://github.com/sonalake/generator-jhipster-multitenancy It looks like it was last updated for JHipster 6. Maybe it can be updated or used as inspiration for a new one? |
+1 by me. This feature is very much needed and very important for us! Can you help with it? |
@mraible , We use schema per tenant model in our applications and modified the core jhipster generator to support the same. we have tested for non reactive application using sql database. workflow for jhipster application generation workflow for entity generation We are open to contribute and happy to get feedback for the same. |
I have been following this topic with some interest. |
The multitenancy blueprint https://github.com/sonalake/generator-jhipster-multitenancy implementation was based on custom services/repository. Would be nice a schema based approach. |
Having a full multi tenancy solution would be really great. As the different setups have different pros and cons I would love a solution that supports configurable a table, schema and database based multi tenancy setup. Additionally some hybrid modes would be very handy. Have most small tenants in a single database, but your big ones in separate databases. I would love to help building that blueprint, but am currently fighting to get my first small blueprint running. Not sure how much I could help. |
Hi @mshima , I am working from my org laptop, so have to follow a set of checks before pushing to public repo. Will share the diff in a few days. |
@mshima Since hibernate 6.0, hibernate provide muti-tenancy support, does that useful for jHipster build muti-tenancy feature? |
This issue is stale because it has been open for too long without any activity. |
Request to re-open. |
JHipster has completed the sample check This check uses |
This issue is stale because it has been open for too long without any activity. |
@mshima Are you still planning something here? |
@DanielFran I plan to revisit the blueprint, no time frame. |
Overview of the feature request
As a Platform developer it would be helpful to have multitenancy support in the JHipster generator.
Multitenancy is a crucial feature for many applications where multiple tenants (organizations, clients, etc.) share the same application instance but have their own isolated data and configurations.
Motivation for or Use Case
The primary motivation behind this feature request is to simplify the implementation of multitenancy in applications. Currently, developing multitenant systems using jhipster requires significant manual code changes and configuration modifications. By incorporating multitenancy support into the JHipster generator, developers can benefit from a pre-configured and streamlined approach, saving time and effort.
In the platform that I am currently developing (created using jhipster), I have implemented schema-per-tenant model and also added corresponding changes to the liquibase configurations. But I had to repeat this in all micro-services that we use which seemed repetitive.
Related issues or PR
#12013
There's a related feature request for multitenancy support. However, that request was closed in favor of an existing blueprint that focuses on one multitenancy pattern. This blueprint is no longer maintained.
Given the importance of multitenancy in SaaS applications, I propose revisiting the feature request and expanding the capabilities beyond a single pattern. This enhancement would address the needs of developers who require flexibility in choosing between separate database, shared database, or hybrid database multitenancy patterns.
The text was updated successfully, but these errors were encountered: