I forgot to say that the cause for the DeadlineExceededException was
log4j, which is unable to log very large strings (xml).
Nevertheless is JAXB in my opinion not the first choice when parsing
large xml files, because of the worse performance.
On 28 Dez., 23:06, androidDeveloper wrote:
>
hat you need to
> > check their requirements againt the JRE list that I provided im my
> > previous post: you are never sure that the next version will require a
> > class unsupported by GAE.
>
> > regards
>
> > didier
>
> > On Dec 26, 11:44 am, androidDe
Hi,
This approach would be my next choice. but implementing and testing
this should be more complex as with JAXB?
On 26 Dez., 08:54, Didier Durand wrote:
> Hi,
>
> I use the xml parsing classes that are natively part of GAE JDK
> itself : javax.xml.parsers.DocumentBuilder,
> javax.xml.parsers.Do
Hi,
do you validate your XML with an xsd? Have you done any extra
configuration for JAXB? And do you parse very large XML?
My Code looks like this. It hangs when parsing and validating large
XML files. I think the problem may be, that with JAXB too many classes
are created. Here is my code, which
Hi all,
I need to parse large xml files. My first try was using JAXB. It works
ok for smaller xml files, but when a large xml is parsed, I get an
DeadlineExceededException and the quota on app engine seems to raise
up very fast...
Furthermore the new JAXB2 jar (JAXB2_20101209.jar) is too large to
I got the same problem since today. Changing the version number did
not change anything. Maybe a Google server problem?
someone had this problem in 2009. So this is possibly not a new
problem...
http://www.mail-archive.com/google-appengine-java@googlegroups.com/msg03589.html
On 17 Dez., 09:02, G
I got an "IllegalArgumentException: Too many indexed properties for
entity" Exception when saving an entity that looks like this:
...
@Persistent
@Element(dependent = "true")
@Order(extensions = @Extension(vendorName="datanucleus", key="list-
ordering", value="aDate
ays
> need to call JDOHelper.makeDirty before persisting to get things
> working properly. Otherwise I get special-case bugs saving an empty
> list, or a list w/ one item in it.
>
> So try JDOHelper.makeDirty(enhtityInstance, propertyNameAsString); and
> let us know if that helps.
>
>
Hi all,
I read the post
http://groups.google.com/group/google-appengine-java/browse_thread/thread/fbd26de27f77f470
which describes a problem with the local datastore and empty lists.
This problem seems to be fixed. But maybe I have found another one.
I have a list "List favoritesUserId" in a i
I have to correct my previous post:
D is an embedded class in B and not in C!
On 4 Sep., 16:42, androidDeveloper wrote:
> Hi all,
>
> I have 4 classes: A, B, C and D:
> Class A is the root class.
> B is a child of A.
> C is a child of B.
> D is an embedded class in C.
> t
Hi all,
I have 4 classes: A, B, C and D:
Class A is the root class.
B is a child of A.
C is a child of B.
D is an embedded class in C.
the classes look like the one at the end of the post.
When I Insert an instance of class A, I get the following exception:
java.lang.IllegalArgumentException: out
Hi all,
in my app I use a relationship between two entities. Here is an
example:
class parentClass {
...
@Persistent(dependent = "true")
private childClass child;
...
}
class childClass {
...
@Persistent
private String parentEncodedKey;
...
}
What is the fastest way to access the parent and the
er.class);
> q.setFilter("userKey == userKeyParam");
> q.declareParameters("String userKeyParam");
> q.execute(appUserKey);
>
> With the appUserKey you pass to q.execute you get the 10-50 users
> which are your friends.
> Does this make sense?
>
> On 30
ss);
> execution gives you the List you can iterate through and
> get the nicknames.
>
> In general: Use List and you'll save yourself a lot of
> hassle ;-)
>
> Hope this helps,
> Fred
>
> On 24 Aug., 12:53, androidDeveloper wrote:
>
> > Hi all,
>
&g
Hi all,
as written in thread
http://groups.google.com/group/google-appengine-java/browse_thread/thread/3033d853fc0a7209/3e56400d7859387d?lnk=gst&q=google+account+gwt+client+#3e56400d7859387d
it is not possible to use the Google Account class
(com.google.appengine.api.users.User) on GWT-client sit
f nickname is a field of MyAppUser):
> Query q = pm.newQuery(MyAppUser.class);
> q.setFilter("userKey == userKeyParam");
> q.declareParameters("String userKeyParam");
>
> q.execute(appUserKey);
>
> will give you a list of his friends.
>
> Hope this helps,
> F
Hi all,
I am trying to model a 1:n relationship between different "myAppUser"
instances on Google App Engines Datastore. MyAppUser has a reference
to 0...n other users (friends).
MyAppUser is currently defined as showed below:
class MyAppUser {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorS
17 matches
Mail list logo