Comment 6 for bug 788592

Revision history for this message
Matt Giuca (mgiuca) wrote :

Sorry Scott, I only just saw your replies now. They would have been useful. Oh well -- so I guess what you were preaching was right all along ;) Make separate PersistenceManagers where possible. You can't in general just chain one persistence manager through a whole bunch of calls.

But note that you don't need to close the PM between calls. You can have multiple PMs on the go at once, just can't use the same one for multiple entity groups.