Oracle11g中的SAP Hybris6.2数据库表结构
SAP Hybris6.2 Database Tables Structure in Oracle11g
我刚刚将 Hybris 6.2 连接到 Oracle 11g Db。在 Sql 开发人员中,我可以看到所有 table,但是由于 table 数量众多,所以很难找到。我找到了一个名为 CMSComponent 的 table,但无法在其中找到 CMSParagraphComponent、CMSImageComponent 和 MiniCartComponent。是在其他 table 中吗?更重要的是,如果我创建一个新组件或任何现有组件,它们存储在数据库中的什么位置 table?
请在理解 Hybris 数据库结构方面提供任何帮助!
在 myextension-item.xml 文件中的 deployment 元素中描述了 项 table。如果您不描述 table,您的项目数据将保存在基础项目 table 上。每个项目 table 都有用于保存项目类型的 TypePK 列。
<itemtype code="MyItem" extends="GenericItem">
<description>My item description</description>
<deployment table="MyItem" typecode="30001" />
<attributes>
<attribute type="java.lang.String" qualifier="key">
<modifiers optional="false" initial="true" />
<persistence type="property" />
</attribute>
<attribute type="java.lang.String" qualifier="value">
<persistence type="property" />
</attribute>
</attributes>
</itemtype>
您可以在后台类型系统中查看项目table。
I found a table called CMSComponent but unable to find
CMSParagraphComponent,CMSImageComponent , MiniCartComponent in it. Is
it in some other table?
检查当前 ItemType 的所有实例存储在哪里
转到 HMC/BackOffice > 系统 > 类型 > 搜索你的类型并从结果中 select 它 > 转到 extended
选项卡 > 检查 Table
属性值
If I create a new Component or any existing, where are they stored in
database table?
<deployment table="tableName" typecode="20005" />
部署标签用于在声明itemType时定义数据库table。因此,如果您为自定义类型定义部署标记,那么它的所有实例都将存储在 define table 中,否则它将存储在它的父项类型中(使用 extends 属性定义)。默认情况下,所有 itemType 都会扩展 GenericItem,因此如果您没有为您的 itemsType 声明扩展属性,它将存储在 genericitems table(为 GenericItem 声明)
记得
- 必须为扩展 GenericItem
的所有项目定义部署 table
- 部署 table 不得为扩展 GenericItem 以外的任何项目的任何项目定义部署
请参阅 this wiki 了解更多详细示例
Please any help is appreciated in understand the Hybris database
structure!
参考thispost,详细解释hybris数据库结构
使用灵活搜索。使用灵活搜索,您可以按名称搜索每个项目类型。转到 HAC/控制台/灵活搜索。文档中有示例查询和 link
我刚刚将 Hybris 6.2 连接到 Oracle 11g Db。在 Sql 开发人员中,我可以看到所有 table,但是由于 table 数量众多,所以很难找到。我找到了一个名为 CMSComponent 的 table,但无法在其中找到 CMSParagraphComponent、CMSImageComponent 和 MiniCartComponent。是在其他 table 中吗?更重要的是,如果我创建一个新组件或任何现有组件,它们存储在数据库中的什么位置 table?
请在理解 Hybris 数据库结构方面提供任何帮助!
项 table。如果您不描述 table,您的项目数据将保存在基础项目 table 上。每个项目 table 都有用于保存项目类型的 TypePK 列。
<itemtype code="MyItem" extends="GenericItem">
<description>My item description</description>
<deployment table="MyItem" typecode="30001" />
<attributes>
<attribute type="java.lang.String" qualifier="key">
<modifiers optional="false" initial="true" />
<persistence type="property" />
</attribute>
<attribute type="java.lang.String" qualifier="value">
<persistence type="property" />
</attribute>
</attributes>
</itemtype>
您可以在后台类型系统中查看项目table。
I found a table called CMSComponent but unable to find CMSParagraphComponent,CMSImageComponent , MiniCartComponent in it. Is it in some other table?
检查当前 ItemType 的所有实例存储在哪里
转到 HMC/BackOffice > 系统 > 类型 > 搜索你的类型并从结果中 select 它 > 转到 extended
选项卡 > 检查 Table
属性值
If I create a new Component or any existing, where are they stored in database table?
<deployment table="tableName" typecode="20005" />
部署标签用于在声明itemType时定义数据库table。因此,如果您为自定义类型定义部署标记,那么它的所有实例都将存储在 define table 中,否则它将存储在它的父项类型中(使用 extends 属性定义)。默认情况下,所有 itemType 都会扩展 GenericItem,因此如果您没有为您的 itemsType 声明扩展属性,它将存储在 genericitems table(为 GenericItem 声明)
记得
- 必须为扩展 GenericItem 的所有项目定义部署 table
- 部署 table 不得为扩展 GenericItem 以外的任何项目的任何项目定义部署
请参阅 this wiki 了解更多详细示例
Please any help is appreciated in understand the Hybris database structure!
参考thispost,详细解释hybris数据库结构
使用灵活搜索。使用灵活搜索,您可以按名称搜索每个项目类型。转到 HAC/控制台/灵活搜索。文档中有示例查询和 link