use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method prepareCall.
@Override
public CallableStatement prepareCall(String sql) throws SQLException {
FilterChainImpl chain = createChain();
CallableStatement stmt = chain.connection_prepareCall(this, sql);
recycleFilterChain(chain);
return stmt;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method prepareStatement.
@Override
public PreparedStatement prepareStatement(String sql) throws SQLException {
FilterChainImpl chain = createChain();
PreparedStatement stmt = chain.connection_prepareStatement(this, sql);
recycleFilterChain(chain);
return stmt;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method getMetaData.
@Override
public DatabaseMetaData getMetaData() throws SQLException {
FilterChainImpl chain = createChain();
DatabaseMetaData value = chain.connection_getMetaData(this);
recycleFilterChain(chain);
return value;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method rollback.
@Override
public void rollback(Savepoint savepoint) throws SQLException {
FilterChainImpl chain = createChain();
chain.connection_rollback(this, savepoint);
recycleFilterChain(chain);
if (transactionInfo != null) {
transactionInfo.setEndTimeMillis();
}
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method setReadOnly.
@Override
public void setReadOnly(boolean readOnly) throws SQLException {
FilterChainImpl chain = createChain();
chain.connection_setReadOnly(this, readOnly);
recycleFilterChain(chain);
}
Aggregations