SAPUI5: Dynamic Hana DB Connection Using XSJS? -


var omodel = new  sap.ui.model.json.jsonmodel("url", false, "uname", "psd"); sap.ui.getcore().setmodel(omodel); var connection = $.db.getconnection(); var statement = null; var resultset = null; try {     statement = connection.preparestatement(select_all_personals_query);     resultset = statement.executequery();     var datapersonal; 

how pass url, username, password, including have .xsacess file or need change or add code in acess file. .xsacess {"exposed" : true ,"authentication" : [{"method" : "basic"}]}


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -