Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

[SPS 9] How to use XSDS and .xssqlcc?

Hey,

in http://scn.sap.com/community/developer-center/hana/blog/2014/12/09/sap-hana-sps-09-new-developer-features-xsds-xs-data-services 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

Tags:
Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question