primary key in ABAP and Hybris
发布日期:2021-06-30 14:04:25 浏览次数:2 分类:技术文章

本文共 985 字,大约阅读时间需要 3 分钟。

ABAP

在这里插入图片描述

Hybris

it is necessary to use attribute unique to decorate one field, which is defined in schema items.xsd:

If 'true', the value of this attribute has to be unique within all instances of this type. If there are multiple attributes marked as unique,        then their combined values must be unique. Will not be evaluated at jalo layer, if you want to manage the attribute directly using jalo layer you have to               ensure uniqueness manually. Default is 'false'.      

See one example:

``xml

The above example fails to work as expected, in that case code1 and code2 are defined as unique separately, but don't constitute as composite key.# solution```xml
  

转载地址:https://jerry.blog.csdn.net/article/details/103749243 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:使用Cloud Application Programming模型开发OData的一个实际例子
下一篇:如何在Windows10的cmd里注入环境变量

发表评论

最新留言

第一次来,支持一个
[***.219.124.196]2024年04月22日 22时37分27秒