I temporarily remove the contents for further technical review.
I would absolutely not recommend that anyone follow what is being described here in this blog post.
If you want to access an existing non-HDI container schema from CAP there are correct ways to do this. You should use a User Provided Service to control the credentials properly and use synonyms to access the objects. Let CAP still use HDI for the persistence it controls, however.
Once again -- PLEASE no one should ever take the approach described here!