简体   繁体   中英

Quarkus Multi-tenant Application

I would like to develop a SaaS application (multiple tenants ) with Quarkus , but I am facing a problem because Quarkus does not support multi-tenants yet . What to do? What alternative? Do you have any idea how I can do this? Do I have to write everything myself?

I would like to use Postgresql as the DBMS with the architecture of a unique database and a separate schema for each tenant .

What version of Quarkus are you using? It seems like the latest Quarkus Hibernate ORM version has exactly what you're asking for:

Quarkus currently supports the separate database and the separate schema approach.

From: https://quarkus.io/guides/hibernate-orm#multitenancy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM