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
ss resolver
called from org.datanucleus.util.Imports.resolveClassDeclaration
(line=177)]
18:21: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 (:parentKeyLis
IN (:parentKeyList)");
the issue seems 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
lt;130; i++){
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, s
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 to google-appengine-java@googlegroups.com.
To unsubscribe from
EY =
"ChatUser.findByParentKey";
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Key key;
@Basic
@Extension(vendorName="datanucleus", key="gae.parent-pk", value =
"true")
private
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
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/-/HvDe2o
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"
rather than 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 Goo
ill require a
fetch 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
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 g
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
lass,
friends.get(0));
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 A
it on my computer
> 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
why are sure that the request has hit appengine?
-lp
On Mar 9, 8:59 am, John wrote:
> I'm seeing a behavior that I hadn't observed before. After one of my apps is
> deployed, the first request hangs for a LONG time (I haven't left it sitting
> for more than 10 minutes
> #
> I 2011-03-06 20:14:32.566 [minglegeo/1.348824067992053184].:
> 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 group
156api_cpu_ms
2011-03-07 22:53:08.199 /fbconnect/update?id=37002 200 737ms
2135cpu_ms 1585api_cpu_ms 2kb Mingle/1.1.1.3 CFNetwork/485.12.7
what is going on is my app really written that dodgy?
-lp
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for
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 are
use JDO 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
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-appe
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-jav
erent entities.
This solution doesnt look like a scalable 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 googl
objects.
OR
use 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 s
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
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 wrote:
> Hello everyone!
>
> We've run into a data migration-test problem, and I'm wondering if
> anyone would have any ad
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 wrote:
> hi vikas
>
> thanks for the spring conf
hi vikas
thanks for the spring config.
i got the same config but still cant get a unit test to persist data,
and then execute a query on it.
i noticed that your config does not use
how does the entitymanager get injected?
have u got the code available? i cant see what i am doing wrong!
-lp
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 wrote:
> You could get more information on the way we set up our testing infra
>
> 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 tha
();
assertEquals( 2, resultList.size() );
}
thanks
-lp
On Nov 10, 8:44 pm, Didier Durand 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 entiti
ing multiple groups in a single
transaction.
So besides the simple gae sample unit test, how are others 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
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 wrote:
> hi all,
>
> when running a unit test us
cCall(TransactionImpl.java:
56)
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 s
what do u mean by 'run it as a java application'?
do u mean run as unit test?
if so try this
http://code.google.com/appengine/docs/java/tools/localunittesting.html
-lp
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java&quo
cannot be expected behaviour.
have i botched the install?
-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,
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 po
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
javax.persistence.TransactionRe
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 wrote:
> Seehttp://code.google.com/p/googleappengine/issues/detail?id=2115. This may
> be the
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" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
em, allowed the em.query to execute correctly.
i am not clear of why 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
em, allowed the em.query to execute correctly.
i am not clear of why 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
he collection filter is executed on the
data store and not in the application as the unfiltered list executed
the 1000 row limit.
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 Engi
("friends ==
myKey" ) portion.
//JPA
javax.persistence.Query query = em.createQuery("select from
Friend where friends=:key");
query.setParameter("key", user2.getKey());
List friendList = (List) query.getResultList();
however the resultlist returns 0.
any help is appreci
e java sdk has similar features to the python sdk. is
that correct?
-lp
On Nov 13, 5:37 pm, lp wrote:
> hi there
>
> i am porting a python GAE to java but have come unstuck with self
> reference type.
> my existing data model uses the SelfReferenceProperty and it allow me
> to d
same query result.
PositionUser positionUser = em.find(PositionUser.class, user1.getKey
());
but now how to filter positionUser.friends based on their latitude?
any help is appreciated
-lp
--
You received this message because you are subscribed to the Google Groups
"Google App Engine
46 matches
Mail list logo