此内容没有您所选择的语言版本。

8.8. How JBoss Data Virtualization exposes schema for OData?


OData defines its schema using Conceptual Schema Definition Language (CSDL). Every VDB, that is deployed in an ACTIVE state in JBoss Data Virtualization server exposes its metadata in CSDL format. For example if you want retrieve metadata for your vdb northwind, you need to issue a query like
http://localhost:8080/odata/northwind/$metadata
Copy to Clipboard Toggle word wrap
Since OData schema model is not a relational schema model, JBoss Data Virtualization uses the following semantics to map its relational schema model to OData schema model.
Expand
Relational Entity
Mapped OData Entity
Model Name
Schema Namespace, EntityContainer Name
Table/View
EntityType, EntitySet
Table Columns
EntityType's Properties
Primary Key
EntityType's Key Properties
Foreign Key
Navigation Property on EntityType, Association, AssosiationSet
Procedure
FunctionImport
Procedure's Table Return
ComplexType
JBoss Data Virtualization by design does not define any embedded ComplexType in the EnitityType.

Warning

JBoss Data Virtualization does not define any one EntityContainer that resulted from different vdb models as a default container, so all entities must be accessed using full path to them.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat