You would now use transaction.savepoint(True). Note also that you
don't need to abort a subtransaction or optimistic savepoint, it will
be aborted/committed as part of the "full" transaction.
On 12. Mai 2007, at 19:00, Paul Winkler wrote:
I belatedly realized I have some old test code that uses a
"subtransaction hack" to get a _p_jar and _p_oid:
# do something needing _p_jar or _p_oid
It doesn't necessarily do it in chronological order, though.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org