-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Short question:
Is the parent of an entity group included in that entity group (i.e. can a transaction affect the parent of an entity as well as the entity itself)?
Thanks.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Say you have a Client Buying Card object and a product object.
When the client chooses the buy opition you create the object and then add a product.
It should be transactional but it's not on the same entity group as the product and the card already been persisted, isn't it?
Is there any way…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am building an app based on google app engine (Java) using JDO for persistence.
Can someone give me an example or a point me to some code which shows persisting of multiple entities (of same type) using javax.jdo.PersistenceManager.makePersistentAll() within a transaction.
Basically I need to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In the context of "Keys and Entity Groups" article by google:
http://code.google.com/appengine/docs/python/datastore/transactions.html
1) "Only use entity groups when they are needed for transactions"
2) "Every entity belongs to an entity group, a set of one or more entities that can be manipulated…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have two entity groups. Restaurants and Users. Restaurants can be rated (1-5) by users. And rating fromeach user should be retrievable.
Resturant(id, name, ..... , total_number_of_votes, total_voting_points )
User (id, name ...... )
Rating (id, restaurant_id, user_id, rating_value)
Do i need…
>>> More