ABAP里的tenant isolation是通过DB table的client ID来区分的.
Hybris也有multi tenant的concept:

SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

Hybris multi tenant典型的使用场景:

(1) Hosting SAP Hybris Commerce for several individual customers
(2) One single, corporate-wide SAP Hybris Commerce serving individual countries with individual product and customer data
(3) Using the SAP Hybris Commerce CMS module to power country-specific versions of a company website
在project folder下的project.properties里定义一个Hybris server上支持哪些tenant:

SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计
SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

Hybris里tenant isolation是通过table name prefix来实现的
不同的tenant需要定义不同的table prefix:
配置文件的naming convention: tenant_.properties:

SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

table prefix在.properties里的定义方式:

SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

在admin console里对tenant进行管理:

SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP Hybris和Netweaver的租户隔离(Tenant isolation)机制设计

相关文章:

  • 2021-06-02
  • 2021-12-19
  • 2021-12-20
  • 2021-06-24
  • 2021-10-17
  • 2021-06-26
猜你喜欢
  • 2021-11-14
  • 2021-10-10
  • 2021-12-26
  • 2021-12-18
  • 2021-07-18
  • 2021-11-05
相关资源
相似解决方案