Hi Developers,
I am trying to make an XS oData service to show data from the HANA database inside sapui5 element.
When i activate my XS oData service i get an error: "NCLOB unsupported data type". I know that oData doesn't support NCLOB so my question is:
How can i skip the NCLOB columns in my service? because i didnt need them.
To avoid this problem i've created a data view and connect the xsodata service to that view.
When i activate that service we get a error: "Missing specification of keys for view "TESTVIEW".
So i added this to the service: "keys generate local "id".
Can someone please explain how that works with keys?
Now we can acces the data in the webbrowser through the url but if i want to show 1 specific item/row by adding: /TESTVIEW('1') i get an error.
Error: Resource not found.
I followed the same steps with a custom table (not a dataview) withoud NCLOB fields in my DB and everything worked fine.
So my 2 questions:
1. How can i get the XS oData service work properly with a Data view?
2. What is the deal with NCLOB columns and is there some kind of work-around.
Again thanks for your time!