我在hdbcds中有两个实体:
context PyramidDB {
entity PipelineType {
key TypeName : String(200) not null;
Displayname : String(200) not null;
Description : String(300);
};
entity PyramidType {
key TypeName : String(200) not null;
Displayname : String(200) not null;
Description : String(500);
Channel : Boolean not null default false;
};
}
从这两个我将有一个OData服务。 xsodata:
service namespace "PyramidDBService.services" {
"PyramidDBService.db::PyramidsDB.PipelineType" as "PipelineType";
"PyramidDBService.db::PyramidsDB.PyramidType" as "PyramidType";
}
使用PipelineType没问题,但在PyramidType上我收到错误:
{
"error": {
"code": 500,
"message": {
"lang": "en-US",
"value": "converter[index] is not a function"
}
}
}
有人可以帮助我吗?
答案 0 :(得分:1)
SAP支持文档SAP Note "2130460 - Functional restrictions of XSOData to OData V2 Specifications for Rev. 90+"列出了XSODATA中实现的OData v2功能的限制:
借助HANA 2和OData v4支持,大部分限制,特别是布尔类型支持,将被删除。