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.
Unfortunately, activation email could not send to your email. Please try again.

A "Orubase.SQLiteStorage" error

Thread ID:

Created:

Updated:

Platform:

Replies:

106418 Jan 6,2013 07:17 AM Jan 25,2013 05:02 AM Orubase 4
loading
Tags: Orubase
rexhxiao
Asked On January 6, 2013 07:17 AM

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 07:25 AM

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 03:59 AM

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 24, 2013 11:00 PM

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

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

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.

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.

;