Examples of OracleXAException


Examples of oracle.jdbc.xa.OracleXAException

    public void testExtract() throws Exception {
        DefaultExceptionAnalyzer analyzer = new DefaultExceptionAnalyzer();
       
        assertNull(analyzer.extractExtraXAExceptionDetails(new BitronixXAException("XA error", XAException.XA_HEURCOM)));
        assertEquals("ORA-1234", analyzer.extractExtraXAExceptionDetails(new OracleXAException(1234)));
    }
View Full Code Here

Examples of oracle.jdbc.xa.OracleXAException

        poolingDataSource1.close();
        tm.shutdown();
    }

    private XAException createXAException(String msg, int errorCode) {
        XAException prepareException = new OracleXAException(msg, 9876);
        prepareException.errorCode = errorCode;
        return prepareException;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.