on 10-22-2015 10:59 PM
Hello,
The following native HANA CDS DDL generates a table called "tmp.jimborean::MyModel.MasterData.Address"
namespace tmp.jimborean;
@Schema: 'JIMBOREAN'
context MyModel {
type BusinessKey : String(10);
type SString : String(40);
context MasterData {
@Catalog.tableType: #COLUMN
entity Address {
key AddressId: BusinessKey;
City: SString;
PostalCode: BusinessKey;
};
};
};
Is there a way in HANA CDS to create a table called simply "Address"? so that the name does not contain the namespace and the context.
Thank you,
Cosmin
Hello Cosmin,
no, there is no way to do that. The catalog object names are always created with the mentioned information/package name. Cause the package name and namespace must be in sync, there are not adaptions possible.
You can get rid off the context, in case you define just one artifact in one CDS file (which makes in most cases no sense from my point of view) which is named like the CDS file itself.
Best Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.