Examples of CantSeeDataException


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
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.