void commitAndDissociate() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException { if (isImported()) { throw Log.log.commitOnImported(); } notifyAssociationListeners(false); try { owner.getProvider().getTransactionManager().commit(); } catch (RollbackException re) { addRollbackExceptions(re); throw re; } finally { final XAOutflowedResources outflowedResources = RemoteTransactionContext.getOutflowedResources(this); if (outflowedResources == null || outflowedResources.getEnlistedSubordinates() == 0) { // we can drop the mapping, since we are both a master and have no enlisted subordinates owner.getProvider().dropLocal(transaction); } } }
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException { if (isImported()) { throw Log.log.commitOnImported(); } try { owner.getProvider().commitLocal(transaction); } catch (RollbackException re) { addRollbackExceptions(re); throw re; } finally { final XAOutflowedResources outflowedResources = RemoteTransactionContext.getOutflowedResources(this); if (outflowedResources == null || outflowedResources.getEnlistedSubordinates() == 0) { // we can drop the mapping, since we are both a master and have no enlisted subordinates owner.getProvider().dropLocal(transaction); } } }
void commitAndDissociate() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException { if (isImported()) { throw Log.log.commitOnImported(); } notifyAssociationListeners(false); try { owner.getProvider().getTransactionManager().commit(); } catch (RollbackException re) { addRollbackExceptions(re); throw re; } finally { final XAOutflowedResources outflowedResources = RemoteTransactionContext.getOutflowedResources(this); if (outflowedResources == null || outflowedResources.getEnlistedSubordinates() == 0) { // we can drop the mapping, since we are both a master and have no enlisted subordinates owner.getProvider().dropLocal(transaction); } } }
void commitAndDissociate() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException { if (isImported()) { throw Log.log.commitOnImported(); } notifyAssociationListeners(false); try { owner.getProvider().getTransactionManager().commit(); } catch (RollbackException re) { addRollbackExceptions(re); throw re; } finally { final XAOutflowedResources outflowedResources = RemoteTransactionContext.getOutflowedResources(this); if (outflowedResources == null || outflowedResources.getEnlistedSubordinates() == 0) { // we can drop the mapping, since we are both a master and have no enlisted subordinates owner.getProvider().dropLocal(transaction); } } }
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException { if (isImported()) { throw Log.log.commitOnImported(); } try { owner.getProvider().commitLocal(transaction); } catch (RollbackException re) { addRollbackExceptions(re); throw re; } finally { final XAOutflowedResources outflowedResources = RemoteTransactionContext.getOutflowedResources(this); if (outflowedResources == null || outflowedResources.getEnlistedSubordinates() == 0) { // we can drop the mapping, since we are both a master and have no enlisted subordinates owner.getProvider().dropLocal(transaction); } } }
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, SystemException { if (isImported()) { throw Log.log.commitOnImported(); } try { owner.getProvider().commitLocal(transaction); } catch (RollbackException re) { addRollbackExceptions(re); throw re; } finally { final XAOutflowedResources outflowedResources = RemoteTransactionContext.getOutflowedResources(this); if (outflowedResources == null || outflowedResources.getEnlistedSubordinates() == 0) { // we can drop the mapping, since we are both a master and have no enlisted subordinates owner.getProvider().dropLocal(transaction); } } }