i raised it as an issue as i am unable to get resolution.
http://code.google.com/p/googleappengine/issues/detail?id=5897
vote if u has a similar problem.
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group
:31,215 DEBUG [DataNucleus.Query] - JPQL Query : Compile Time =
18 ms
18:21:31,217 DEBUG [DataNucleus.Query] - DATASTORE Query : Executing
SELECT c FROM ChatUser c WHERE c.parentKey IN (:parentKeyList) ...
thanks
-lp
--
You received this message because you are subscribed to the Google Groups
IN :parentKeyList: Unexpected
expression type while parsing query:
org.datanucleus.query.expression.SubqueryExpression
have got these queries completely wrong?
-lp
--
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
++){
parentList.add(KeyFactory.createKey(ChatUser.CLASS_NAME, i
+11) );
}
what i thought i understood is now very confusing.
-lp
--
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 google
to be with the gae.parent-pk not the query.
-lp
--
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java
;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Key key;
@Basic
@Extension(vendorName=datanucleus, key=gae.parent-pk, value =
true)
private Key parentKey;
}
-lp
--
You received this message because you are subscribed
and an upcoming article will
describe what further optimizations are possible.
i havent tried it out yet but i wanna see if it reduces my write cost on
list properties.
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view
magic.
the statistics have been updated.
thanks mr google.
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/HvDe2orXucgJ.
To post
hi all
the database stats have NOT been updated for at least 2 days.
it says last updated 19:10:27 but clear what day it happened.
what can be done to get them updated?
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view
a
single key.
this makes update significantly faster as i have less relational
entities to update.
This provides a solution to what google appengine guys call 'fan out
problem'.
hope this helps others.
-lp
--
You received this message because you are subscribed to the Google Groups
Google App
of the entire list, then add item and then put to datastore.
this is rather expensive in CPU.
#2. How can i allow for 5000 in the onetomany?
any suggestion pls
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group
ok this looks like Spring transaction issue.
when the @Transactional is removed the NoResultException does not affect the
commit.
this is f#$$
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send
));
findUser.getFriends().remove(user.getKey());
em.merge(findUser);
}
em.remove(user);
}
}
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
that previous example code was too complex... phew it was a late night
this a simpler example of the a method that does a rollback when a
NoResultException is thrown.
even if the exception is handled it doesnt matter the txn is rollback and no
commits are done.
if the NoResultException is NOT
#
I 2011-03-06 20:14:32.566 [minglegeo/1.348824067992053184].stdout:
04
strangely they are not present in my dev environment.
any one getting a similar issue?
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this
permanently. And is it possible to do that at all?
the only out bound connections available on appengine are http.
so if twitter supports http, all good.
saving images no problem
hope that helps.
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine
or JPA.
The magic is done by the LocalServiceTestHelper.setup
so your problem is the error below
java.lang.NullPointerException: No API environment is registered for
this thread.
This means there is no datastore attached to your pm.
Post your code for test setup and pm initialisation.
-lp
--
You
hi all,
i have getting large variance in my request and api cpu.
I have read the countless articles on the topic and the quota doc.
what i am seeing is *not* do to process startup as i have 'Always on'
enabled since there is no more of the ' This request required a
process to startup.
Below
this help another.
-lp
--
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr
log.info, error
etc.
any ideas?
-lp
--
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java
solution for bigtable.
was the article for SQL tables NOT bigtable?
-lp
--
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send
is most appreciated for my sanity,
thanks
-lp
--
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine
a VTO pattern (http://java.sun.com/blueprints/patterns/
TransferObject.html) to populate ur presentation objects.
this enables the persistence layer transaction to be abstracted away
from presentation.
VTO pattern is more usefull.
-lp
--
You received this message because you are subscribed
are u sure u wont to proceed with that plan of changing out enhanced
JDO classes?
just sounds to complicated.
-lp
On Mar 3, 5:21 am, Jason G ja...@bobberinteractive.com wrote:
Hello everyone!
We've run into a data migration-test problem, and I'm wondering if
anyone would have any
ok i finally got this sorted.
it seems that i was making life too difficult by making tests
transactional.
by removing the @transactional on unit tests everything works nice and
simple.
thanks for your help
-lp
On Nov 15, 4:51 pm, lp lucio.picc...@gmail.com wrote:
hi vikas
thanks
hi vikas
nice blog u have there. However i cant reproduce your results the unit
test with spring.
can u post your spring config to see what i have done wrong.
thanks
-lp
On Nov 13, 3:58 pm, Vikas Hazrati vhazr...@gmail.com wrote:
You could get more information on the way we set up our testing
the entitymanager get injected?
have u got the code available? i cant see what i am doing wrong!
-lp
On Nov 15, 3:02 pm, Vikas Hazrati vhazr...@gmail.com wrote:
hi lucio,
I have added the requested information as an answer to your comment on
the blog post.
http://thoughts.inphina.com/2010/06/28/unit
writting
useful unit tests in gae?
any help is most appreciated
-lp
--
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email
();
assertEquals( 2, resultList.size() );
}
thanks
-lp
On Nov 10, 8:44 pm, Didier Durand durand.did...@gmail.com wrote:
Hi,
Entities that you persist in the datastore are grouped in so called
entity groups for reason of scalability and transactionality
That means that the ds groups your entities
Instead of flushing, did you try a PersistenceManager.close() that
should lead to the same effect ? After the close, you get a new pm via
the PMF and that should do it.
i dunno if i can do that so easily as the entityManager is injected by
spring.
i have a very very very simple example that
)
at
com.google.appengine.api.datastore.TransactionImpl.rollback(TransactionImpl.java:
77)
i assume that i am missing a appengine jar file in the maven
dependencies. is that correct?
any help is appreciated.
-lp
--
You received this message because you are subscribed to the Google Groups
ok i was missing a maven dependency for appengine-api-1.0-
sdk-1.3.8.jar.
the gae-plugin was hiding the visibility of it to the test phase.
so i can now run a junit test with transaction using persistence.
-lp
On Nov 10, 2:17 pm, lp lucio.picc...@gmail.com wrote:
hi all,
when running
how did u get your unit tests to run in tx?
i cant seem to get an active transaction.
i followed all the links in this thread and more.
any help appreciated
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
hi all,
i am attempting to unit test my JPA code in a Spring unit test.
i read all the doco about gae unit tests.
i have this working in normal hibernate JPA with a specific tx
manager.
I cant see how the txManager is wired up.
however i get the following error
i tried using gae sdk 1.3.1 but still got enhancer looping.
it seems to happen when i include spring 3.x libs i dunno giving
up and going for ant task.
-lp
On Mar 3, 1:43 am, Rajeev Dayal rda...@google.com wrote:
Seehttp://code.google.com/p/googleappengine/issues/detail?id=2115. This may
it is complaining about the mulitple instances
of persistence unit called ' transactions-optional' as it is only
being referenced by the spring binding.
what is the problem?
any help most appreciated.
-lp
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
the em behaviours like that, given the em.find()
seem to find the correct object.
any ideas?
-lp
--
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 google-appengine-j...@googlegroups.com.
To unsubscribe
the em behaviours like that, given the em.find()
seem to find the correct object.
any ideas?
-lp
--
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 google-appengine-j...@googlegroups.com.
To unsubscribe
.
it works but i dont understand how.
any help most appreciated
-lp
--
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email
39 matches
Mail list logo