I don't think that we can help you unless we see some of your code
where you do your persisting! (Am I correct to presume that you are
using JDO?)
On Aug 2, 2:28 pm, Sachin Salunkhe wrote:
> I am trying to save and retrieve data in google app engine in
> hierarchical manner.
>
> 1.
>
> In such
Also, if you wanted to use that same pattern of 2 transactions for
a delete, you should use a query for the delete to avoid conflict
with the cache.
tx.begin();
qRT = pm.newQuery(Event.class);
qRT.setFilter(" (key == k) ");
qRT.declareParameters("com.google.appengine.api.datastore
I think that it will have same behavior if I replace
@Transaction(rollbackOn=Exception.class)
public void myMethod() {
}
with
Transaction txn = datastore.beginTransaction();
try {
myMethod();
txn.commit();
} finally {
if (txn.isActive()) {
txn.rollback();
}
}
The probl
Yep. That's usually the technique I use if I don't embed child objects.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai
On Tue, Aug 2, 2011 at 9:48 AM, J.Ganesan wrote:
> Is this alternative fine ?
>
> Entity associationEntity = new Entity("Associ
Have you asked this question on the Picasa API forum?
https://groups.google.com/forum/#!forum/google-picasa-data-api
It seems like you would have this problem whether or not you are running on
App Engine.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/i
That's definitely not the intended behavior. Given that you're using a
third-party library to handle rollback, can you take a look at the code to
see what it's doing on exception?
http://code.google.com/appengine/docs/java/datastore/transactions.html
Does this happen with the low-level API?
--
I
Is this alternative fine ?
Entity associationEntity = new Entity("Association");
associationEntity.setUnindexedProperty( "key1List" ,
Arrays.asList( Key[] { k1,k1,k2,k3,k3 } ) ) ;
associationEntity.setUnindexedProperty( "key2List" ,
Arrays.asList( Key[] { k8,k6,k4,k1,k7 } ) ) ;
// the developer ha
Thanks Max.
2011/8/2 Max
> you can merge join entities to itself without ordering
>
> for group by, you will need to pre-index (partition) your data when writing
> to datastore, or you can do this in memory
>
> --
> You received this message because you are subscribed to the Google Groups
> "Goo
you can merge join entities to itself without ordering
for group by, you will need to pre-index (partition) your data when writing
to datastore, or you can do this in memory
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view
I am trying to save and retrieve data in google app engine in
hierarchical manner.
1.
In such a case ,where I am using key's for reference to another entity
(i.e parent --> child)
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "true") public class Item {
@PrimaryKey
I am trying to use Picasa API by authenticating via OAuth 2.0
Below are the params I am using
scope: http://picasaweb.google.com/data/
feed: "http://picasaweb.google.com/data/feed/api/user/default";
After authorization, In the callback I am creating a PicasaWebService
and trying to get all the al
The appid is "691703567391", and unfortunately there is no particular entity
hanging the system. When this error produces, NO single entity will work.
Entities are of Entity Kind "Command", that we are using to store the
information that later a Task will process. Each Namespace (and we have
ar
Forgot to mention that my app is using the Master -> Slave replication
model.
--
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/-/dX3_L
Hello,
The data appears to be added in the database, after transaction is rolled
back. Here are some logs and traces from the log to explain what I mean:
1. 2011-08-02 10:29:53.579
com.evo.adm.contract.server.billing.payment.RealPaymentProcessor
getBillDetails: Bill
Key:ContractEnt
Note that in this
http://groups.google.com/group/google-appengine-java/browse_thread/thread/23c9c625bd9d4437#
discussion I've also asked about how Google thinks about startup time
limitations in the future.
No concrete answer yet...
On Aug 1, 6:07 pm, "jem...@gmail.com" wrote:
> I have the same
15 matches
Mail list logo