Package org.jboss.test.xa.interfaces

Examples of org.jboss.test.xa.interfaces.CantSeeDataException


            s = db2con.createStatement();
            s.executeUpdate("INSERT INTO XA_TEST (ID, DATA) VALUES (1, "+data+")");
            s.close();

            if(result != data)
                throw new CantSeeDataException("Insert performed on one connection wasn't visible\n"+
                                               "to another connection in the same transaction!");

        } catch(SQLException e) {
            throw new EJBException("Unable to clear data (have tables been created?): "+e);
        } catch(NamingException e) {
View Full Code Here

TOP

Related Classes of org.jboss.test.xa.interfaces.CantSeeDataException

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.