public boolean getRollbackOnly()
    {
        LocalTransactionCoordinator lCoord = getLocalCoord();
        if (lCoord != null) {
            return (lCoord.getRollbackOnly());
        } else {

            int status = Status.STATUS_NO_TRANSACTION; //LIDB1673.2.1.5
            try { //LIDB1673.2.1.5
                status = txService.getStatus(); //LIDB1673.2.1.5
            } //LIDB1673.2.1.5
            catch (SystemException e) //LIDB1673.2.1.5
            { //LIDB1673.2.1.5
                FFDCFilter.processException(e, CLASS_NAME + ".getRollbackOnly",
                                            "667", this); //LIDB1673.2.1.5
            } //LIDB1673.2.1.5
            return (status == Status.STATUS_MARKED_ROLLBACK || //LIDB1673.2.1.5
                    status == Status.STATUS_ROLLEDBACK || //LIDB1673.2.1.5
            status == Status.STATUS_ROLLING_BACK); //LIDB1673.2.1.5

        }
    }
public boolean getRollbackOnly ( ) { LocalTransactionCoordinator lCoord = getLocalCoord ( ) ; if ( lCoord != null ) { return ( lCoord . getRollbackOnly ( ) ) ; } else { int status = Status . STATUS_NO_TRANSACTION ; try { status = txService . getStatus ( ) ; } catch ( SystemException e ) { FFDCFilter . processException ( e , CLASS_NAME + ".getRollbackOnly" , "667" , this ) ; } return ( status == Status . STATUS_MARKED_ROLLBACK || status == Status . STATUS_ROLLEDBACK || status == Status . STATUS_ROLLING_BACK ) ; } }
Returns true iff the current local or global transaction has been
marked rollback only