From 9bc05558ee51b01e8f923260f976e3065229982b Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Mon, 12 Aug 2024 09:40:30 +0200 Subject: [PATCH] Add note about storage of tenant. Closes #686 --- jpa/multitenant/README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jpa/multitenant/README.adoc b/jpa/multitenant/README.adoc index 0c751149..d4f21f92 100644 --- a/jpa/multitenant/README.adoc +++ b/jpa/multitenant/README.adoc @@ -8,3 +8,5 @@ Each uses a different strategy to separate data by tenant: 2. Use a separate schema per tenant 3. Use a separate database per tenant. +_The contained projects are only examples how to use Hibernates Multitenant feature with Spring Data JPA. +For any real application a decision has to be made how to scope a tenant. Storing it in a singleton as in the examples is for most cases not an appropriate solution._