on 05-11-2015 4:07 PM
I saw a lot of things about .xssqlcc with the $.db, but i'm already using the new $.hdb and when i call my .xssqlcc file ($.hdb .getConnection("package::file")) it returns me an error "Error: getConnection: Wrong argument type. Expects Object!"
What can I do?
With the new DB interface, the getConnection has more options. It now expects a JSON structure to pass in these options. See the online help:
http://help.sap.com/hana/SAP_HANA_XS_JavaScript_API_Reference_en/$.hdb.html
var connection = $.hdb.getConnection({"isolationLevel": $.hdb.isolation.REPEATABLE_READ, "sqlcc": "package::mysqlccfile"});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!
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 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.