Questions tagged [jaydata]

JayData is a standards-based, cross-platform Javascript library and a set of practices to access and manipulate data from various online and offline sources.

JayData is a standards-based, cross-platform Javascript library and a set of practices to access and manipulate data from various online and offline sources.

243 questions
1
vote
3 answers

Javascript data management

Which of the following data management for javascript is recommended? jLinq jOrder I am familiar with jLinq but not sure weather to use jLinq or jOrder. Would prefer the one with a better API.
aditya_gaur
  • 3,209
  • 6
  • 32
  • 43
1
vote
0 answers

Error while trying to retrieve nested childs using Jaydata library

I do have my Jaydata model like $data.Entity.extend('Razoom.Model.Product', { 'ProductID': { 'key': true, 'type': 'Edm.String', 'nullable': false, 'required': true, 'maxLength': 36 }, 'LocationID': { 'type': 'Edm.Int32', 'nullable': false,…
1
vote
0 answers

Jaydata ServiceOperation and Action method POST ignored

I work on the Jaydata release 1.3.6 (with OData V3) and i have a problem with Service Operations and Actions, they are all submitted wia the GET method instead of POST... I have to change GET to POST because of my $filter request which is to big for…
1
vote
1 answer

JayData provider failing to load for sqLite and indexedDb

I'm trying to use JayData using the sqLite provider via myDB = new MyDatabase({ provider: 'sqLite' , databaseName: 'MyDB', version: 1 }); But when It runs this line it echos to console the following message twice "Provider fallback failed!" I have…
duindain
  • 525
  • 3
  • 12
1
vote
1 answer

Jaydata, Web Api and optimistic concurrency

I have successfully implented the optimistic concurrency sample from the JayData site http://jaydata.org/blog/optimistic-concurrency-support-in-jaydata-1.2 with a WCF DataService in the back, just like in the sample. Now, someone in charge decided…
Malyngo
  • 863
  • 7
  • 18
1
vote
1 answer

How do I get the save results from a JayData saveChanges() call?

In JayData, how do I find out how my saveChanges() call went? In Breeze, the save command returns a saveResults object. Is there anything equivalent in JayData?
plusplusben
  • 187
  • 6
1
vote
0 answers

RequireJS - Return after onready

I have a RequireJS module and I want to only return an object after it's onReady() event has been called. define([ 'kendovendor', 'TodoDB', 'jaydatakendo' ], function (kendo,tododb,jdvend) { var onlinedb = new…
John Edwards
  • 1,536
  • 3
  • 14
  • 33
1
vote
0 answers

oData v4.0 - Enumerations Support

I'm looking into replacing breeze with jaydata on my project, but i'm struggling with enumerations. I'm using the latest updates from nuget together with oData v4.0. I've generated my context with JaySvcUtil.exe without errors. Is the use of…
Nesse
  • 373
  • 4
  • 14
1
vote
1 answer

Error w/ context initialized from JaySvcUtil-generated model

Upon closer examination the file generated together with the .js file built by JaySvcUtil -- in my case called BO_Data.d.ts cannot resolve the two references to $data.IPromise. This started happening after I added a new table in the database,…
1
vote
1 answer

ASP.NET Web API OData batch returning HTTP 404

I'm getting started with ASP.NET Web API v2 and OData (v3). I've got a client made with JayData v 1.3.6 Client Context onlinedb = new $todo.Types.ToDoContext({ name: 'oData', oDataServiceHost: 'http://localhost:49375/odata' }); Server…
1
vote
1 answer

jaydata odata-server newsreader sample throws has no method 'basicAuth' exception

I'm not getting odata-server working on my machine (Windows 8.1, nodejs 0.10.30, mongo 2.4.8). Also tried clean Ubuntu install, same problem. Repro scenario: create directory npm install odata-server cd node_modules/odata-server node…
Patrick
  • 13
  • 3
1
vote
1 answer

Issue on Jaydata Node Express CRUD server side ODATA

I need to set up a OData server with Node. I managed to get Jaydata up and running with Express, defined a model, which gets loaded properly. I can display a the entries properly in a SAPUI5 table. Essentially this thread was my orientation along…
Munphino
  • 11
  • 2
1
vote
1 answer

JayData incorrect behaviour with WebApi v2 Odata during entity Create with kendoGrid

this my Controller: public class ProductEntityController : EntitySetController< ProductEntity, int> { public IQueryable< ProductEntity> Get(ODataQueryOptions< ProductEntity> parameters) { return…
1
vote
1 answer

OData - Strange index with MongoDB [Mongoose: Cast Error]

I have some MongoDB documents with this schema: Id: {type: "id", key: true, computed: true, nullable: false}, Name: {type: "string", nullable: false, maxLength: 50} and these documents are exposed as OData by a small web application (I'm using…
Marco
  • 700
  • 1
  • 14
  • 26
1
vote
1 answer

JayData JSON decode error

I have JSON objects coming back from ASP.Net oData services which I am reading through JayData oData provider. On one service, JSON object is read into an array without any problems. On another service (from same server), the resulting array…
Chi Row
  • 1,106
  • 7
  • 18