Here's the psudo-code for one of my methods:
1. Get PersistenceManager (pm)
2. pm.fetchObject1
3. pm.beginTransaction
4. pm.modifyObject1
5. pm.commit
6. pm.fetchObject2
7. pm.beginTransaction
8. pm.modifyObject2
9. pm.commit
however I get this error "can't operate on multiple entity groups in a single transaction..."
Do I have to put another line in between step 5 and 7 saying that I'm 'done' with object1, like to close it?
Thanks