diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/Multi_Tenancy.xml b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/Multi_Tenancy.xml index 6b3c5d2d81..046d22ee88 100644 --- a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/Multi_Tenancy.xml +++ b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/Multi_Tenancy.xml @@ -162,7 +162,8 @@ Correlates to the partitioned (discriminator) approach. It is an error to attempt to open a - session without a tenant identifier using this strategy. + session without a tenant identifier using this strategy. This strategy is not yet implemented + in Hibernate as of 4.0 and 4.1. Its support is planned for 5.0. diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_database.png b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_database.png new file mode 100644 index 0000000000..84822ec4e5 Binary files /dev/null and b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_database.png differ diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_database.svg b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_database.svg new file mode 100644 index 0000000000..38cbf07554 --- /dev/null +++ b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_database.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +CUSTOMER ( +ID BIGINT, +NAME VARCHAR, +... +) +CUSTOMER ( +ID BIGINT, +NAME VARCHAR, +... +) +Application + + + + + + + + + + + diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_discriminator.png b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_discriminator.png new file mode 100644 index 0000000000..dcc3ad6ed9 Binary files /dev/null and b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_discriminator.png differ diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_discriminator.svg b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_discriminator.svg new file mode 100644 index 0000000000..cb55a6671f --- /dev/null +++ b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_discriminator.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +CUSTOMER ( +ID BIGINT, +NAME VARCHAR, +... +TENANT_ID VARCHAR +) +Application + + + + + + diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_schema.png b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_schema.png new file mode 100644 index 0000000000..2756ba2ed6 Binary files /dev/null and b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_schema.png differ diff --git a/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_schema.svg b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_schema.svg new file mode 100644 index 0000000000..f344c5b23a --- /dev/null +++ b/documentation/src/main/docbook/devguide/en-US/chapters/multi-tenancy/images/multitenacy_schema.svg @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +CUSTOMER ( +ID BIGINT, +NAME VARCHAR, +... +) +CUSTOMER ( +ID BIGINT, +NAME VARCHAR, +... +) +Application + + + + + + + + + + + + + + + +