on 09-15-2016 12:18 PM
Hi,
I tried to change columns name within cds tables (WebIDE).
Because I wasn't able to build it (dependencies with procedures) I decided in the end to delete the tables and procedures with HRTT - Toll (Webeditor).
But now, if I try to build the tables which I deleted before, they will not be created anymore. I can build it successfully, but the tables aren't there.
(I took the procedure out, which caused the problems)
Was it wrong to do it with the HRTT Tool?
And one more question, how can I delete all my deployed objects?
>Was it wrong to do it with the HRTT Tool?
Yes. Directly deleting catalog objects generated by CDS has always been a bad idea. Old repository or HDI, this situation remains. CDS contains metadata about the state of the catalog objects which gets out of sync if you directly alter/delete the runtime catalog objects. Instead comment out the object in the hdbcds file or change file extension and deploy. This will safely drop the runtime objects. In the upcoming HANA release this also gets a bit easier because we can selectively deploy individual objects instead of always the entire HDB module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
I was trying everything, before I've chosen this way.
But there was really a strange behavior with a procedure, which caused the problem.
Ok, I'm not able to do create my whole project anymore, tables are missing.
Is there a way to delete all deployed objects to get it clean again?
Thanks a lot!
If you want to delete a service you can use the xs command ("xs ds", run "xs help ds" to get more information about it).
When working in Web IDE on a certain db service - web IDE generates a unique service per user per project - meaning if another user in another web IDE workspace is working on a mta.yaml with a same name - he/she are actually using one which is specific to them.
Regards,
Omer.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
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.