use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class StatementProxyImpl method isClosed.
@Override
public boolean isClosed() throws SQLException {
FilterChainImpl chain = createChain();
boolean value = chain.statement_isClosed(this);
recycleFilterChain(chain);
return value;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class StatementProxyImpl method setCursorName.
@Override
public void setCursorName(String name) throws SQLException {
FilterChainImpl chain = createChain();
chain.statement_setCursorName(this, name);
recycleFilterChain(chain);
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class StatementProxyImpl method getMaxRows.
@Override
public int getMaxRows() throws SQLException {
FilterChainImpl chain = createChain();
int value = chain.statement_getMaxRows(this);
recycleFilterChain(chain);
return value;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class StatementProxyImpl method executeUpdate.
@Override
public int executeUpdate(String sql) throws SQLException {
firstResultSet = false;
lastExecuteSql = sql;
lastExecuteType = StatementExecuteType.ExecuteUpdate;
lastExecuteStartNano = -1L;
lastExecuteTimeNano = -1L;
FilterChainImpl chain = createChain();
updateCount = chain.statement_executeUpdate(this, sql);
recycleFilterChain(chain);
return updateCount;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class StatementProxyImpl method getResultSetType.
@Override
public int getResultSetType() throws SQLException {
FilterChainImpl chain = createChain();
int value = chain.statement_getResultSetType(this);
recycleFilterChain(chain);
return value;
}
Aggregations