Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 949
aristos Avatar asked Oct 30 '25 08:10

aristos


1 Answers

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

like image 127
Robert van der Spek Avatar answered Nov 01 '25 23:11

Robert van der Spek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!