I believe I am getting JDO commit Exceptions due to the transactions
nesting although I'm not sure.

Will this detect the situation where I am starting a transaction when
another is pending?

 PersistenceManager pm =
PersistenceManagerFactory.get().getPersistenceManager();
 assert  pm.currentTransaction().isActive() == false  : "arrrgh";
 pm.currentTransaction().begin();


Is there a better or more reliable way?
--- Stevko

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to