Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Re: Mobilink error 10403

$
0
0

Hi José,

 

Yes, in previous versions (e.g. SQL Anywhere 12 and lower) it was expected that each MobiLink Java / .NET class called from a download/upload event must return a String type, and no other types were supported.

 

In SQL Anywhere 12 though, this behaviour was marked as deprecated in the documentation and now removed in SQL Anywhere 16 (leading you to the -10403 error).

 

(Although I do note that there is still a documentation error on this page - we will change this note in future versions).

 

---

 

So for SQL Anywhere 16 and up, you should directly execute any statements you would like executed inside of your .NET / Java scripts on the consolidated database inside of your code. You can obtain a consolidated database connection using the code:

Connection conn = DBConnectionContext.getConnection();

 

Regards,

 

Jeff Albion

SAP Active Global Support


Viewing all articles
Browse latest Browse all 2182

Latest Images

Trending Articles



Latest Images