Package org.odmg

Examples of org.odmg.TransactionInProgressException


        {
            String msg = "Database cannot be closed, associated Tx is still open." +
                    " Transaction status is '" + TxUtil.getStatusString(getTransaction().getStatus()) + "'." +
                    " Used PBKey was "+getTransaction().getBroker().getPBKey();
            log.error(msg);
            throw new TransactionInProgressException(msg);
        }
        isOpen = false;
        // remove the current PBKey
        pbKey = null;
        // if we close current database, we have to notify implementation instance
View Full Code Here


        if ((getTransaction() != null) &&
                getTransaction().isOpen() &&
                getTransaction().getAssociatedDatabase().equals(this))
        {
            String txStatus = TxUtil.getStatusString(getTransaction().getStatus());
            TransactionInProgressException ex = new TransactionInProgressException(
                    "Database cannot be closed, associated Tx is still open." +
                    " Transaction status is '" + txStatus + "'." +
                    " Used PBKey was "+getTransaction().getBroker().getPBKey());
            log.error(ex);
            throw ex;
View Full Code Here

        {
            String msg = "Database cannot be closed, associated Tx is still open." +
                    " Transaction status is '" + TxUtil.getStatusString(getTransaction().getStatus()) + "'." +
                    " Used PBKey was "+getTransaction().getBroker().getPBKey();
            log.error(msg);
            TransactionInProgressException ex = new TransactionInProgressException(msg);
            throw ex;
        }
        isOpen = false;
        // remove the current PBKey
        pbKey = null;
View Full Code Here

        {
            String msg = "Database cannot be closed, associated Tx is still open." +
                    " Transaction status is '" + TxUtil.getStatusString(getTransaction().getStatus()) + "'." +
                    " Used PBKey was "+getTransaction().getBroker().getPBKey();
            log.error(msg);
            TransactionInProgressException ex = new TransactionInProgressException(msg);
            throw ex;
        }
        isOpen = false;
        // remove the current PBKey
        pbKey = null;
View Full Code Here

        {
            String msg = "Database cannot be closed, associated Tx is still open." +
                    " Transaction status is '" + TxUtil.getStatusString(getTransaction().getStatus()) + "'." +
                    " Used PBKey was "+getTransaction().getBroker().getPBKey();
            log.error(msg);
            TransactionInProgressException ex = new TransactionInProgressException(msg);
            throw ex;
        }
        isOpen = false;
        // remove the current PBKey
        pbKey = null;
View Full Code Here

TOP

Related Classes of org.odmg.TransactionInProgressException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.