we have another fix that my colleague did. What do I need to do to get it
checked in?
it's just this try catch in TransactionContext.update and create methods

        try {
            markUpdate( engine, molder, object, depended );
        } catch (DuplicateIdentityException e) {
            if (walk) _creating = false;
            throw e;
        } catch (PersistenceException e) {
            if (walk) _creating = false;
            throw e;
        }

the purpose is to make sure the transaction keeps the correct state when an
exception is thrown

we're using it and it seems to work fine, and at least now we can use the
DuplicateKeyException without breaking the transaction. I'm including the
latest source with the fix.

Attachment: TransactionContext.java
Description: Binary data

Reply via email to