jdoql
Escaping string literal "by", sql reserved word, while creating java Query object
The following code is throwing exception because string field has the SQL reserved word \"by\" in it. How would I escape this reserved word. The code is meant for google datastore.[详细]
2023-04-13 01:39 分类:问答GAE JDO Query sometimes returns with newest persisted entities missing
I am trying to build a simple app using google app engine, with java and JDO. my application creates Sale objects and persists them to the datastore, once persisted i attempt to list using a query, A[详细]
2023-03-29 09:18 分类:问答Why error "Joins are only supported when all filters are 'equals' filters."
I am not sure what am I doning wrong here? It complains \"Joins are only supported when all fi开发者_运维技巧lters are \'equals\' filters.\" when the query is executed. How can I get around that?[详细]
2023-03-22 02:46 分类:问答Help understanding JDOQL query elements for CMP 1.1 finder
I\'m a relative Java EE lightweight, tasked with moving an old app from OC4j 10.x (JEE 1.1) into Glassfish 3.1 (JEE 1.4).I\'m attempting to understand what this deployment error means and how I should[详细]
2023-03-20 14:52 分类:问答Appengine: DatastoreNeedIndexException when using "order by"
Hello I have this DatastoreNeedIndexException when I try to order by my query. here is the code: @PersistenceCapable[详细]
2023-02-28 02:01 分类:问答JDOQL (Appengine) - Query for all/one items with a list as parameter?
I\'m trying to create a query so that all items of a given list (parameter) are contained in a a table\'s column (which is also a list). I also need a query so that at least one item of a given list ([详细]
2023-02-12 04:50 分类:问答How to do a Date range query using JDO on Google App Engine
Here is the code snippet I am trying to get to work: final Query query = pm.newQuery(\"SELECT FROM model.Strip WHERE publishOn <= startDate[详细]
2023-02-09 10:15 分类:问答JDO query using the object ID
I have a User object which has a collection of Transaction objects und开发者_如何学Goer it. I store the object ID for my User object and now need a query to sum the transactions under the User object[详细]
2023-02-08 10:40 分类:问答Queries with JDOQL Unique Result Set
In my GAE application I want to make a 开发者_开发技巧JDOQL which returns a List where every element exist at most once even in the database there are more. How can I do this?I dont know about JDOQL,[详细]
2023-01-29 23:48 分类:问答JDOQL Subquery count problems
I am having trouble with subquery counts with JDOQL (using DataNucleus). The following query SELECT this.price[详细]
2023-01-20 18:35 分类:问答