Examples of executeNativeSQL()


Examples of org.jboss.as.test.clustering.cluster.ejb.xpc.bean.Stateful.executeNativeSQL()

                bean.clear();
                break;
            }
            case DELETE_EMPLOYEE_DIRECT: {
                // delete all employees in db
                int deleted = bean.executeNativeSQL("delete from Employee where id=1");
                if (deleted < 1) {
                    throw new ServletException("couldn't delete entity in database, deleted row count =" + deleted);
                }
                break;
            }
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.