quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.57k stars 2.63k forks source link

Support configuring multitenancy per persistence unit #11755

Open gsmet opened 4 years ago

gsmet commented 4 years ago

Right now, we don't support multitenancy with multiple persistence units or at least the configuration is global. We need to fix that but I have a question first.

I wonder if multitenantSchemaDatasource is still useful given you can now define the datasource used for a given persistence unit? My inclination would be to remove it in favor of using the generic datasource property. Does it make sense?

/cc @Sanne @michael-schnell

gavinking commented 4 years ago

Does Quarkus have multitenant datasources?

geoand commented 1 year ago

Is this now supported in Quarkus 3?