We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

A "Orubase.SQLiteStorage" error

Thread ID:

Created:

Updated:

Platform:

Replies:

106418 Jan 6,2013 12:17 PM UTC Jan 25,2013 10:02 AM UTC Orubase 4
loading
Tags: Orubase
rexhxiao
Asked On January 6, 2013 12:17 PM UTC

var sql = "SELECT * FROM sqlite_master WHERE type='table';";

Orubase.SQLiteStorage.executeQuery(sql)

it's ok

var sql = "SELECT * FROM sqlite_master WHERE type='table not to found';";




rexhxiao
Replied On January 6, 2013 12:25 PM UTC

will throw "Uncaught SyntaxError: Unexpected token ILLEGAL

from

executeQuery:function (query,p) {
window[callbackNameExecuteQuery] = function (status, data) {
alert(JSON.stringify(data));
if (status.toLowerCase() === "true") {  
       var result = JSON.parse(data);
		            var result;
		            if (data == "0 records found") {
		                result = JSON.parse(data);
		                result = [];
		            } else {
		                result = JSON.parse(data);
		            }
p.onSuccess(result);
} else {
p.onFailure(data);
}
};
var args=[query];
Orubase.Utility.PerformCall("ExecuteSQLiteQuery", callbackNameExecuteQuery, args);
},

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 8, 2013 08:59 AM UTC

Hi Rexhxiao,

 

We have fixed this issue in our current source. We will include this fix with our upcoming Orubase releases. Thanks for sharing your code.

 

Please let us know if you have any queries.

 

Regards,

Ponmalar P


rexhxiao
Replied On January 25, 2013 04:00 AM UTC

same issue for 
selectAll:function (tablename,p) {
		    window[callbackNameSelectAll] = function (status, data) {

Sahaya Sweetlin Ponmalar P [Syncfusion]
Replied On January 25, 2013 10:02 AM UTC

Hi Rexhxiao,

 

Sorry for the inconvenience caused.

 

We will fix this issue and this will be included in our Vol 1, 2013 release. Please let us know if you have any queries.

 

Regards,

Ponmalar P


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;