even if this having millions of children
> entities for one ancestor is theoretically feasible, you'll hit a
> write performance issue when you generate those entities : only 1
> write / second in one given entity group (ancestor).
>
> On 17 fév, 03:16, "hendrix.jason&
If I have a @PersistenceCapable class that contains a List of another
@PersistenceCapable class, and that List is millions of items in size,
is that OK?
Does that exceed a maximum for Java's List size?
What is the best way for a parent to have millions of children and
still have it easy to add ne
If a user clicks this type of link:
Sign in with a Google Account
Then logs in with their Google account, everything works ok with
Firefox or Chrome but not with IE. See the requests and responses
below.
Note the difference between the two GET headers... FF does not contain
the "../" but IE does
There is probably a better way, but you could look at the user agent
string (I see in my logs that the user agent string for pages launched
by cron look like "AppEngine-Google; (+http://code.google.com/
appengine)".
Also, cron jobs are executed as admin. You may be able to use the
"userService.is
Have you tried surrounding the select and delete queries in once
transaction?
See: http://code.google.com/appengine/docs/java/datastore/transactions.html
There is no reason it shouldn't work otherwise, but it may be worth a
shot.
Also, with it being the same 213 objects, maybe those particular
ob
I'm trying to force a logout and redirect by using this code from a
jsp page:
pageContext.forward(userService.createLogoutURL("../pageName.jsp"));
This works in the dev environment, but not on the GAE servers. There
I get this error: Error: NOT_FOUND
I get the same error if I change "../pageName
or = JDOCursorHelper.getCursor(AllGameDataResults);
>
> This is what I do. I seem to remember that by using your equivalent of
> List the method JDOCursorHelper.getCursor(...) did not
> work for me.
>
> Enjoy?
>
> On Oct 19, 3:18 am, "hendrix.jason" wrote:
When I execute:
Cursor newCursor = JDOCursorHelper.getCursor();
newCursor is always null even though there are valid results returned
and there are more in the datastore that fit the query.
Since I am filtering multiple times on the same property, is this
query getting treated as an "IN" query (a
This page shows how to do "simple joins"
http://gae-java-persistence.blogspot.com/2010/03/executing-simple-joins-across-owned.html
However, is there a way to join the same child element twice to check
for a child element that contains 2 specific items, like I'm trying to
do here but failing/return
Can anyone help with this subquery issue? http://pastebin.com/swSWJ5iD
How can the last query return a record when q3b returned 0
records?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to go
I have two @PersistenceCapable classes:
Document.java:
http://pastebin.com/3MbEk8qw
DocumentSearchKeyValue.java
http://pastebin.com/QuUzZrLf
How would I create a query that would return all "Document" objects
that, in their "documentSearchKeyValues" field, contain a
"documentSearchKeyValue" havi
FYI...
This issue was resolved by changing the last line
from this:
List groups = (List) q.execute(group_keys);
to this:
List groups = (List)
q.execute(Arrays.asList(group_keys));
Thanks,
Jason
On Oct 2, 5:55 pm, "hendrix.jason" wrote:
> group_keys is an array containing several
es not work with arrays arguments.
> Modify the declaration of your 'group_keys' from 'Key[]' to 'Key'.
> By the way, all query errors happen to be assigned to the 'execute' line in
> debug mode.
>
> Le 2 oct. 2010 à 19:41, "hendrix.jason
ateKey(User.class.getSimpleName(), Key.getId());
>
> Instead of :
> Key k = KeyFactory.createKey(User.class.getSimpleName(),
> Long.parseLong(Key));
>
> On 30/09/10 01:16, "hendrix.jason" wrote:
>
>
>
>
>
>
>
> >What could this error mean:
>
> >jav
.
>
> one possibility that 1 see: a change of type / format that you made to
> some prop of your object and you access old entities in the datastore
> with the new code. This may generate such an exception if DS cannot
> convert old format to new one.
>
> didier
>
> On Sep
What could this error mean:
java.lang.ClassCastException:
[Lcom.google.appengine.api.datastore.Key; cannot be cast to
com.google.appengine.api.datastore.Key
It's happening on the last line of this code:
PersistenceManager pm2 = PMF.get().getPersistenceManager();
Key k =
KeyFactor
i have a binary (pdf) file stored in the blobstore. i can read it
using the blobviewer, so i know it is in there correctly. i want to
POST the file contents to a webservice. to test, i am just putting the
results of blobstoreService.fetchData(blobKey, 0,
bi.getSize()),content_type) in to the body
I think this is what you are looking for:
http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication
On Jan 31, 2:55 pm, Scott wrote:
> I read that you can make people login to their google account in order
> gain access to your app, but is there a way to restrict
18 matches
Mail list logo