Package com.alibaba.druid.pool

Examples of com.alibaba.druid.pool.DruidPooledCallableStatement.execute()


    }

    public void test_getObject() throws Exception {
        Connection conn = dataSource.getConnection();
        DruidPooledCallableStatement stmt = (DruidPooledCallableStatement) conn.prepareCall("select 1");
        stmt.execute();

        Assert.assertEquals(0, dataSource.getErrorCount());

        Exception error = null;
        try {
View Full Code Here


    }

    public void test_getObject_1() throws Exception {
        Connection conn = dataSource.getConnection();
        DruidPooledCallableStatement stmt = (DruidPooledCallableStatement) conn.prepareCall("select 1");
        stmt.execute();

        Assert.assertEquals(0, dataSource.getErrorCount());

        Exception error = null;
        try {
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.