I agree. I often find myself changing my Class structure just to be
able to run efficiently on Datastore.
It's not like that I mind optimizing my code. It's just that in the
past in the past 3 days I have spent only 10% time in writing the
program logic and 90% in wondering how to read and write e
Thanks Jason.
We are migrating our apps to GAE in 2-3 months, so our customers may
ask some of the security measures. Though I know GAE is fully secured
environment and google take security very seriously, I would like to
know
1. Any firewall running?
2. Do you provide any safeguards to prevent t
Hey, just to let you know: the solution was to change the Java Runtime
location in Esclipse (Preferences -> Java -> Installed JREs).
You can see the full instructions here:
http://code.google.com/p/googleappengine/issues/detail?id=1226
--~--~-~--~~~---~--~~
You rec
Hi,
I am a newbie to Google Datastore.
I am trying to run a testcase in which i am counting the entities.
Kindly guide me through as it is giving the following error:
com.google.apphosting.api.ApiProxy$UnknownException: An error occurred
for the API request datastore_v3.Count().
at
co
Yea, I dont need to query on it, that's why I thought maybe storing in a
HashMap would save me an extra query. Lets not go that way for now and
assume I make a new relationship:
I have another question, I was wondering if I can use TaskQueue to achieve
some sort of transactions across entities and
Also, let's say I want to set all fields named "toilet" to value
"flush" in entities with existing field value of "full of it".
? are you kidding me ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engin
As long as your Entities are in the client.* folder they can be seen
as JDO objects as well as in GWT as POJOs
On Sep 20, 5:07 pm, Max wrote:
> It is possible to use same class with GWT-RPC and and in app engine
> (JDO bigtable)?
>
> or I have to define 2 similar classes. One for GWT and other f
It is possible to use same class with GWT-RPC and and in app engine
(JDO bigtable)?
or I have to define 2 similar classes. One for GWT and other for JDO
and write code to that will copy data from one object to another?
Is there some way to automate it?
Thanks, Max
--~--~-~--~~--
One option is to use this base64 library instead to implement basic
auth in GAE.
http://iharder.net/current/java/base64/
On Sep 19, 3:43 pm, Vik wrote:
> Hie
> I have requirement to post a request with BASIC AUTH but today when i tried
> to use BASE64Decoder it said GAE does not support this.
OK. I found the problem. I once used HTTP-Builder which comes with a
asm-2.2.3.jar. Grails does not clear its stage directory. So this lib
remained in the stage directory even after I removed http-builder and
conflicted with asm 3 that is required by DataNucleus. Manually
deleting the stage direct
On Sep 20, 7:16 am, Philippe Marschall
wrote:
>
> BigDecimal is the only sane choice for anything that includes monetary
> calculations.
>
True, but just because a number is saved as a long doesn't mean you
can't do calculations using BigDecimal.
I think the CPU cycles it takes to convert a lo
Hi all,
I tried to follow the the instructions and screencast on
http://grails.org/plugin/app-engine. However, I seem to have a problem
with the DataNucleus Enhancer that I cannot resolve:
An error occured for ClassEnhancer "ASM" when trying to call the
method "org.datanucleus.enhancer.asm.ASMCl
Thanks for your reply. Yes I can do that. I have been able to delete
one or two things here and there with both queries and by manually
clicking on Delete in the admin data viewer.
However, deleting 10 entities per second!?
I am at a loss to comprehend how this is scalable.
I have 70,000 entiti
Hi,
is it possible to use xmpp api to send and receive messages using gmail ids
?
Thanks
--~--~-~--~~~---~--~~
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 goo
My Spring sessionForm in Google Appengine works in the development
environment but not when I deploy it.
I have sessions-enabled set to true in my appengine-web.xml.
Am I missing something here? I had to override the initBinder in my
Controller for it to work in appengine because Spring tries to
On Sep 19, 11:32 pm, Max Ross wrote:
> The datastore supports a Double type and we have no plans to support
> anything more precise.
BigDecimal is the only sane choice for anything that includes monetary
calculations.
Cheers
Philippe
--~--~-~--~~~---~--~~
You r
Hello Mickaël,
I share your pain. I have a similar data structure for a portion of my
persistent store, but it's for an administrative task and I persist
just one new entity at a time.
You can set the key yourself in the app for each persistent entity
when you construct it and before persisting
On Aug 17, 1:09 am, Jaap wrote:
> Hi,
>
> According
> tohttp://code.google.com/intl/de/appengine/docs/java/datastore/creating...
>
> it is possible to set the primay keys yourself to a unique string.
> When I use the code below this email however the hosted server gives
> the following error
>
Unowned relationships are completely independent from owned
relationships (correct me if I'm wrong !).
Suppose you have 3 entities A, B and C of the same kind "Folder" and
all of them have the same entity group parent P (which is of kind
"Folders"). So all these entities belong to the same entity
Try this :
Query query = pm.newQuery(YourThing.class);
query.setRange(0,300);
List< YourThing > results = (List< YourThing >) query.execute();
Iterator iter = results.iterator();
while(iter.hasNext()){
YourThing p = (YourThing)iter.next();
The JSP page I created is using too much of CPU and showing high
latency.
The page lists all the entities of type Person.class. (At present
there are 43 entities in the datastore.)
(Person is a root entity)
Following is the method to return the list of all Person objects in
the datastore :-
pub
Thanks Jason
I used Transactions and now I don't see that message in my info log.
Regards
Sahil
On Sep 18, 11:49 pm, "Jason (Google)" wrote:
> Hi Sahil. It sounds like you can get rid of this particular log message by
> performing all your writes inside of a transaction. If you don't need or
>
22 matches
Mail list logo