Hi,
I don't think it's a good approach to explain the datastore relationship
types by using tree-related terms, because a tree implies that a child
could be accessed only by it's parent and that is absolutely contrary to
the datastore. I think owned and unowned are the best attributes for
When you instanciate a persisten object in google app engine the
object automatically is assigned with a value to its primary field
even before persisting it in the database.
sample class:
MyClass{
@PrimaryKey @Persistent(valueStrategy=IdGeneratorStrategy.IDENTITY)
private Long id;
}
But in the
Hello,
I have similar problem. Here are my application details:
- What is your application ID?
Application ID: cmsevobg
- How do you know it is being cycled out? You'll need to insert some
code that only gets called when the app cold starts.
I have a ServletContextListener that is logging
Hi,
I'm using the GAE plugin of Eclipse. I tried to open my jsf page, but
I had that stacktrace :
27 janv. 2010 22:41:50 javax.faces.webapp._ErrorPageWriter
handleThrowable
GRAVE: An exception occurred
java.security.AccessControlException: access denied
(java.io.FilePermission
I'm planning to use fetch groups in my java-app hosted on google app
engine. I can't seem to find much about fetch groups in the java app
engine documentation, so my question is if google app engine has
implemented fetch groups as defined in JSR-000243 Java Data Objects
2.2 Maintenance Release 2 ?
I'm planning to use fetch groups in my java-app hosted on google app
engine. I can't seem to find much about fetch groups in the java app
engine documentation, so my question is if google app engine has
implemented fetch groups as defined in JSR-000243 Java Data Objects
2.2 Maintenance Release 2 ?
Bump!
In my opinion, the 2nd one performs better but use more storage.
Because the first one fan out (n + m) copies whereas the second one
fans out (n * m) copies.
This is just MY THEORY. Please correct me if I am wrong.
Thanks a lot,
Max
On 1月28日, 上午1時06分, Raphael André Bauer
i had a similar problem, I had to force a commit by closing the persistence
manager after changing the child objects info and before acessing the child
object via the parents field, it seems it gets refreshed when accessing it
via the parent.
On Wed, Jan 27, 2010 at 8:24 AM, Nick Wiedenbrueck
I have the following unittest code. I am persisting two SecurityGroup
entities, one as a child of Tenant and one entity not having any parent.
beginTxn();
Tenant tenant = new Tenant();
SecurityGroup securityGroup = new SecurityGroup();
Code:
Class Page {
ListString aliases;
...
query = pm.newQuery(Page.class);
query.setFilter(:aliases.contains(alias));
query.declareVariables(String alias);
ListPage results = (ListPage)query.execute(alias);
...
}
I want to select Page objects where the aliases
Is there any documentation on how to combine app engine, openID, and
oauth?
We have already set up our production app (serving over 100K users) to
act as a shibboleth service provider, but would like to move it to app
engine. We need a way to provide the same federated authentication
support
is the existing child object null in the parent? otherwise try modifying the
child object that you get from the parent?
and do you have the mappedBy property set in the parents annotation?
On Thu, Jan 28, 2010 at 11:05 AM, Nick Wiedenbrueck
nick.wiedenbru...@googlemail.com wrote:
Thanks for
Here is what I'm doing:
employee.setContactInfor(new ContactInfo(...))
// in another request
employee.setContactInfor(new ContactInfo(...))
// in yet another request, this would give me the first ContactInfo
employee.getContactInfo()
is the existing child object null in the parent?
What do you
Hi, yes http://camel.apache.org/ is the thing.
It's a routing engine, you get input, examines it and send it to the
correct user.
That's the simplest flow, usually you do some enrichment and
transformation also.
Regards
Stefan
On 27 Jan, 22:29, Ikai L (Google) ika...@google.com wrote:
What's
Hello,
is there a way to copy my GAE application into somebody elses account?
I would like to make it as easy as possible for the recipient, so he/
she should not need the GAE SDK installed.
I have seen that there is a way to invite a Developer to Collaborate
on an Application.
So my idea is
Hi,
I store on the datastore the UserId (who is a String that i get with
the method User.getUserID()) and I want to retrieve the Object User
corresponding to this UserId to get his EmailAddress.
Is it possible to do ?
Thanks
Grégoire
--
You received this message because you are subscribed
Why not just store the User object in the datastore property directly?
2010/1/28 Grégoire Galinand gregoire.galin...@gmail.com:
Hi,
I store on the datastore the UserId (who is a String that i get with
the method User.getUserID()) and I want to retrieve the Object User
corresponding to this
I've problems setting up specific servlets to respond to mail
messages...
I've followed the directions given at
http://code.google.com/appengine/docs/java/mail/receiving.html
to setup a series of three filters:
- /_ah/mail/maezel* = MailResponder
- /_ah/mail/twitter* = TwitterResponder
-
You should just be able to change the application ID in application-web.xml
and push it.
On Thu, Jan 28, 2010 at 8:23 AM, mjustin michael.jus...@gmx.net wrote:
Hello,
is there a way to copy my GAE application into somebody elses account?
I would like to make it as easy as possible for the
Hi Friends,
Can anyone tell me the way I can create a webservice and deploy on
google app engine. Actually my requirement is to access the data from
the google data source using the JDO Api's and and expose it using a
webservice.
I am trying to create a 3rd party integration solution in which I
The easiest way to publish a web service (interpreted as an
http-based rpc protocol) is with Hessian. The 4.0.3 version of
Caucho's hessian jar should work fine as both client and server on
Appengine.
Other solutions (JAX-RS, SOAP) are available but they are all a lot
more complicated. With
Little update:
- In fact specifying the full email addresses after the /_ah/mail/
prefix works!
- I was fooled by the empty path info :(
- It seems to me the given example has not been tested ;)
Note that there's a typo in the example given at
I'm kind of in the same boat. May we know which version of JAX-B
implementation is being supported in App Engine?
Thanks.
IY
--
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
Hi there,
From this page:
http://code.google.com/apis/apps/profiles/developers_guide_protocol.html
http://code.google.com/apis/apps/profiles/developers_guide_protocol.htmlIt
looks like it's possible to use AuthSub or OAuth, which would preclude you
from having to store a username and password.
Can you summarize the technique used?
As far as join table goes, App Engine's datastore isn't relational.
Filtered queries will work differently and were built with scalability
characteristics in mind. Sometimes these characteristics will overlap with
functionality that SQL provides and may even
Thank you John!
On Jan 26, 12:59 am, John Patterson jdpatter...@gmail.com wrote:
The local datastore does not get deployed to the app engine servers.
That would be a cool feature though!
But deploying an app will not modify your local datastore. However, I
have occasionally had my local
1. No, the parent will not be updated. You are updating a Child - not a
parent. However - you will want to be very careful with Child entities in a
Collection. I believe there is an outstanding issues where if you only
update the Child entity, the Parent entity will not know the Collection has
It should be 500 characters. We need to fix the documentation:
http://code.google.com/p/googleappengine/issues/detail?id=2519
On Thu, Jan 28, 2010 at 4:19 PM, Ugorji ugo...@gmail.com wrote:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html
It
I want to put some entities in the same entity group as a parent. If
multiple users try to create child entities at the same time, will
their put requests all lock on the parent entity and get executed in
sequence (even though I am not making any changes to the parent? and
the parent does not hold
My understanding is that all writes within the same entity group are
serialized. Hence a best practice is keep Entity Groups as small as
possible. If there is contention between two simulatanous writes to
the same Entity Group, one fails, and having retry logic here will
help get that second
Okay, I have found my answer. You have to persiste the object first
before you could get its generated primary field value. Cheers!
On Jan 28, 4:07 pm, ivanceras ivance...@gmail.com wrote:
When you instanciate a persisten object in google app engine the
object automatically is assigned with a
i will try. The reason socialwork suggested to use code snippet above
is because bigtable doesnt support join. by using this technique they
claim overhead will be smaller.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to
Thanks Enrique for your response.
This seems to be what the app engine docs are alluding to, but they
are not specific on the writes when the parent entity is not part of
the transaction, and furthermore they suggest that optimistic
concurrency is used and not locking, which lends credence that
I think I found half of an answer here:
http://bolour.com/blog/2009/06/the-google-app-engine-data-model/
Quoting:
GAE uses optimistic concurrency control for transactions, and its
concurrency control algorithm operates at the root level of an entity
group. The optimistic concurrency control
Ugorji,
I agree with you that the documentation is not 100% clear. In Google
I/O 2008, Under the Hood of AppEngine Datastore, Ryan Barrett
discusses transactions under the hood. Toward the backend of the
video (about 40 minutes in), he talked about how transactions are
implemented within the
Hi,
Is there a way to change the timezone of the whole app and also
change the timezone of the dates that were already in the datastore
from UTC to a specific timezone?
thanks.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To
Hi, I have the same problem with following code:
public static RService getOneService(String owner, String idService,
PersistenceManager pm)
{
ListRService Services = new ArrayListRService();
Query query = pm.newQuery(RService.class);
There's another thread about this topic here:
http://groups.google.com/group/google-appengine/browse_thread/thread/ebebbacc69688925
http://groups.google.com/group/google-appengine/browse_thread/thread/ebebbacc69688925Typically,
this won't exist in a library - it's just data. You'll need to find
Thanks much.
On Jan 28, 4:36 pm, Ikai L (Google) ika...@google.com wrote:
It should be 500 characters. We need to fix the documentation:
http://code.google.com/p/googleappengine/issues/detail?id=2519
On Thu, Jan 28, 2010 at 4:19 PM, Ugorji ugo...@gmail.com wrote:
Thanks Enrique for your responses. I've done more research and it
seems that
- every write is serialized (regardless of within tx or not)
- contention will always exist at the Entity Group
- use retries to manage
On Jan 28, 5:28 pm, Enrique Perez enrique.m.pe...@gmail.com wrote:
Ugorji,
I
i am trying to set entity property to null,
but it does not persist it to db, it just keeps old string value
how do i set property to null?
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
41 matches
Mail list logo