Hi,
I think at this point that Max's knowledge is needed
Max could you report on this thread please???
Thanks
datanucleus wrote:
Perhaps GAE/J doesn't respect that metadata extension tag then. Raise
a bug on their DataNucleus plugin for it.
Not related to JDO but...
2009/11/2 datanucleus andy_jeffer...@yahoo.com
FWIW You don't need Keys ***in JDO*** at all either ... when the JDO
interface is respected and implementation details don't leak out into
user space; keys should not be presented to the user IMHO. JDO is then
a very good option whether you want
DM - http://vike.googlecode.com/svn/trunk/vike/src/br/com/ximp/vike/server...
Judging from above you don't use JPO but low level API. But your
entity class (Actor) is dressed with JDO annotations. I don't know
what will happen if entity dressed with JPA annotiation and beautified
by JDO enhancer
Thanks, It is working. Is this an issue? Or is it specific to Text
On Nov 3, 11:00 am, Rusty Wright rwright.li...@gmail.com wrote:
What happens if you change @Persistent to @Persistent(defaultFetchGroup =
true)
?
Tito George wrote:
Enviornment: Local
I have a Text field in one
anyone else facing same problem ? my app's today's error rate is 94% (of
832) !
--~--~-~--~~~---~--~~
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
Also, I updated my datastore-indexes.xml as the following:
?xml version=1.0 encoding=utf-8?
datastore-indexes
xmlns=http://appengine.google.com/ns/datastore-indexes/1.0;
autoGenerate=true
datastore-index kind=MDsIri ancestor=false
property name=iri direction=asc /
property
Hi Jason,
thank you very much for your answer. I think that you are right, but
have to admit, that I cannot prove it. I have tested the application
again after some time (browser has been closed in between), and
everything worked fine.
Is it possible, that sessions
A simple search on this forum for GWT and detachable should give
plenty of links ... as to why GWT doesn't cope seamlessly with
standard bytecode-enhanced classes. Also
http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/3c768d8d33bfb1dcseems
See
http://groups.google.com/group/google-appengine-java/browse_thread/thread/9c9fb88e1b175395/f8f9a9adcfeb044f?lnk=gstq=xslt#f8f9a9adcfeb044f
and you see that saxon works with App Engine
And Saxon support XSLT 2
So, with Saxon, App Engine supports XSLT 2
I can reproduce the deadlock and I believe I have a fix. I'm not sure if it
will make the next release though. Can you please file an issue so we can
track this?
Thanks,
Max
On Sat, Oct 31, 2009 at 4:31 PM, stumpy ianmcgrath.m...@gmail.com wrote:
I removed the thread dump doc because the
Hi Julio. How are you verifying that the entity is not persisted? Are you
querying for it or verifying using the data viewer? If you're not using the
data viewer, please try this first --
http://localhost:8080/_ah/admin(substitute your port number for 8080).
If you don't see your entities in the
The overhead of having to fetch the inner object is negligible since
you're using a direct fetch by key. You can set a @NotPersistent property of
the intended type and modify your DAO methods to fetch both objects (User
and FavoriteFood) and set the @NotPersistent property of the User to this
not-equal filters are not supported in the current SDK unless you're doing
not equal null, in which case we just turn it into null because the
datastore considers null to be smaller than any non-null value. You can
read about the supported filter types here:
Great! Since someone else is now using this besides me, I've added
more comments. Also, I've added some testcases and fixed an issue when
invoking put() with entities that contain partial keys. If your
entities don't have complete keys when invoking put(), you should go
get the latest code.
Let
Do you see any other exceptions under WARNING or ERROR that provides more
information? How long do you wait before the exception is thrown? If it's
close to 30 seconds, you could be experiencing a timeout, and you can try
scaling back the number of entities written (500 is the theoretical max but
Multiple calls to setFilter will overwrite the previous value. Do you
really want to do that?
--~--~-~--~~~---~--~~
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
There are a few threads that mention using memcache in hosted mode,
and having to set certain properties or configure persistence.xml, but
there does not seem to be a concrete example of what / where / or how
to set the parameters.
Currently I have to redeploy my app to App Engine every time to
I am using Nick's excellent tutorials on bulk loading, and was able to
push a huge pile of entities up to production. Problem is, they looked
like this:
MySpecialEntity
in my custom python bulkloader class and in production.
The gotcha is my application is Java, and queries for:
SELECT FROM
Hi Esteban. Please file any discrepancies between the development and
production environments as bugs in the public issue tracker:
http://code.google.com/p/googleappengine/issues/list
Can you attach or link to an image that I can use to reproduce the error?
Thanks,
- Jason
On Sat, Oct 31, 2009
I think you already arrived the recommended solution to the issue of
counting entities. For reference, the reason that the production environment
only returned at most 1,000 is an artifact of the query mechanism that App
Engine uses which can only return up to 1,000 results per query.
- Jason
On
Hi Steve. Can you post the full stack trace of one of these exceptions?
- Jason
On Mon, Nov 2, 2009 at 4:30 AM, sproz stephane.spra...@gmail.comwrote:
Meanwhile,
could anyone let me know why I get these DeadlineExceededException ?
Thanks,
Steve
www.sprosys.com
On Oct 29, 9:55 pm,
Thank for the java version
Is there any plugin for netbeans IDE
--~--~-~--~~~---~--~~
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
I don't see a link, but if your framework is open source, feel free to
submit it to the App Engine open source projects listing by following the
instructions at
http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects
.
- Jason
On Sun, Nov 1, 2009 at 12:35 AM,
I cant wrap my head around this but i'm having an issue with doing a
basic query.
I have a user class that contains an embeddable class ContactInfo.
ContactInfo has email, phone, and address String fields.
@PersistenceCapable(identityType=IdentityType.APPLICATION)
public class MyUser {
Beats me. It seems to be some sort of pixie dust you'll often need to apply.
You don't need it for String, Long, Date, and a variety of other jdk classes,
but I think you will need it for your classes. I don't understand why it's not
used in the GAE web site's documentation.
Tito George
Andy has pinpointed the issue. You most likely don't have a field on your
MyUser class named email but the error isn't being triggered on the first
query because your second call to setFilter() is overwriting the reference
to the nonexistent field. You'll need to pass the entire filter to
Hello everyone!
I'm new to the Google API so my questions are gonna sound really
easy :P
I'm trying to integrate a simple service of getting a specific gmail
user's contacts from his google account.
Whats the most useful API google can provide for me to access such
methods?
Also, i realize
Hi Sanjith. All App Engine requests must return within 30 seconds or this
exception will be thrown. If you have a larger task, you can divide it into
several parts and execute these in separate tasks, but each task must also
return in 30 seconds or less.
- Jason
On Sat, Oct 31, 2009 at 11:12 AM,
Sessions are also stored in memcache. To clear this you can write a simple
page that calls memcache.clearAll();
2009/11/3 pgoetz pgo...@pgoetz.de
Hi Jason,
thank you very much for your answer. I think that you are right, but
have to admit, that I cannot prove it. I have tested the
App Engine's DataNucleus plugin doesn't support the setCandidates method for
querying a select group of entities -- all queries currently target the full
datastore. You're welcome to file a feature request in
the datanucleus-appengine issue tracker, but this isn't likely to be
prioritized in the
Jason:
I've created this issue:
http://code.google.com/p/googleappengine/issues/detail?id=2353, so you can
have all the info you need to test both problems.
Thanks again!
Esteban
On Tue, Nov 3, 2009 at 4:35 PM, Jason (Google) apija...@google.com wrote:
Hi Esteban. Please file any
Sounds good James.
The owned relationship between Book and Chapter is just defined by the fact
that Book has a collection of Chapter as a member variable. If the
relationship is bi-directional (i.e. Chapter has a Book as a member
variable) then you use the mappedBy field in the @Persistent
Ok Bryce...I'm back. Going to test with your ideas now. In my case,
I tend to avoid generic column names like id in favor of bookId
and chapterId so I should not have any naming conflicts (at least
rarely). Also, my FK embedded classes should not have any collections
though I have a feeling
Can you try moving your query into the first transaction and report if this
makes a difference?
- Jason
On Fri, Oct 30, 2009 at 7:10 PM, RoryD rory1doug...@gmail.com wrote:
I'm aware of the restriction on operating on multiple entity groups in
a single transaction, but I thought the
Here's one I got a few days ago. It looks like it timed-out while just
queuing up a task:
Uncaught exception from servlet
com.google.apphosting.api.DeadlineExceededException: This request
(8b0dab1ffe61eb3f) started at 2009/10/31 16:30:47.041 UTC and was
still executing at 2009/10/31 16:31:16.438
Consider this test case. A Person belongs to 1 or more Institutions
so there's 2 ways you would want to query this. Query #1: Given a
particular Person then which Institutions does he belong to? Query
#2: Given a particular Institution then which Persons are members?
Assume entity Person and
I don't know if this will help (maybe it's the datanucleus-core dependency with
a scope of runtime), but here's my pom for jdo. This is a dependency pom; it
encapsulates the dependencies for app engine datanucleus jdo. Put it in a
directory by itself, create a src dir (not sure if that part
I don't know if this will help, but I finally figured out how to do parent
queries using the parent's primary key. At the moment I don't see what
advantage there is if you're storing a reference to the parent object in the
child and using mappedBy in the parent, but here's what I have, in
Great, thanks for answering that question. It's nice to know it's a possible
solution; as we can see from the Bryce Cottam, James H, Diana Cruise, et. al.
thread, dealing with these unowned child objects that are in various places,
it's a puzzle.
My latest thinking is that using clone() for
Thanks Rusty. I will keep this in mind..
On Nov 4, 12:13 am, Rusty Wright rwright.li...@gmail.com wrote:
Beats me. It seems to be some sort of pixie dust you'll often need to apply.
You don't need it for String, Long, Date, and a variety of other jdk
classes, but I think you will need it
Thank you very much! I will do that just as a backup solution for the
next time I want to clear the sessions.
On Nov 3, 7:05 pm, John Patterson jdpatter...@gmail.com wrote:
Sessions are also stored in memcache. To clear this you can write a simple
page that calls memcache.clearAll();
Hi Ross,
Thank you for your response. I will monitor the downtime notify group
from now on. Even though this was a planned outage, I am still quite
concerned that a complete downtime of over 1h is necessary on your
infrastructure... What is the strategy you suggest to your customers
to handle
Hi James,
sorry for the delay,
My design is currently similar to what you proposed. However, in your
example, I'd probably make 2 classes: PersonFK and InstitutionFK.:
public class PersonFK {
private Key id;
private String firstName;
private String lastName;
private String
43 matches
Mail list logo