public void test_closePoolableStatement() throws Exception {
DruidPooledConnection conn = (DruidPooledConnection) dataSource.getConnection();
DruidPooledPreparedStatement stmt = (DruidPooledPreparedStatement) conn.prepareStatement("select 1");
conn.close();
conn.closePoolableStatement(stmt);
}
public void test_dup_close() throws Exception {
DruidPooledConnection conn = (DruidPooledConnection) dataSource.getConnection();