Skip to content

Commit 9bc0555

Browse files
committed
Add note about storage of tenant.
Closes #686
1 parent 9988a78 commit 9bc0555

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jpa/multitenant/README.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ Each uses a different strategy to separate data by tenant:
88
2. Use a separate schema per tenant
99
3. Use a separate database per tenant.
1010
11+
_The contained projects are only examples how to use Hibernates Multitenant feature with Spring Data JPA.
12+
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._

0 commit comments

Comments
 (0)