instanceManager.discardInstance(callContext, bean);
throw e;
} finally {
callContext.setCurrentOperation(currentOp);
callContext.setCurrentAllowedStates(originalAllowedStates);
txPolicy.commit();
}
}
}
protected void didCreateBean(ThreadContext callContext, EntityBean bean) throws OpenEJBException {