on 05-14-2015 11:52 PM
Hey,
in http://scn.sap.com/community/developer-center/hana/blog/2014/12/09/sap-hana-sps-09-new-developer-fea... it is mentioned, that XSDS also supports connection configuration files (.xssqlcc).
With $.hdb.getConnection I can add the configuration with an optional parameter http://help.sap.com/hana/SAP_HANA_XS_JavaScript_API_Reference_en/$.hdb.html
How can I achieve the same with XSDS? Do I need to add extra parameters to $.sap.hana.xs.libs.dbutils.xsds ?
Cheers
Hello Alexander,
for that you have to use the $setConnectionConfig method of the XSDS Transaction class (JSDoc: Class: Transaction).
Example:
$.import("sap.hana.xs.libs.dbutils", "xsds");
var XSDS = $.sap.hana.xs.libs.dbutils.xsds;
XSDS.Transaction.$setConnectionConfig('<your config file>');
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 |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.