Package com.alibaba.druid.proxy.jdbc

Examples of com.alibaba.druid.proxy.jdbc.StatementProxyImpl


                public ResultSetMetaData getMetaData() throws SQLException {
                    throw new SQLException();
                }
            };

            StatementProxy stmt = new StatementProxyImpl(conn, new MockStatement(conn) {

                public ResultSet getResultSet() throws SQLException {
                    return rs;
                }
            }, 0);
View Full Code Here


    public StatementProxy wrap(ConnectionProxy connection, Statement statement) {
        if (statement == null) {
            return null;
        }

        return new StatementProxyImpl(connection, statement, dataSource.createStatementId());
    }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.proxy.jdbc.StatementProxyImpl

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.