use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method close.
@Override
public void close() throws SQLException {
FilterChainImpl chain = createChain();
chain.connection_close(this);
closeCount++;
recycleFilterChain(chain);
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method getClientInfo.
@Override
public Properties getClientInfo() throws SQLException {
FilterChainImpl chain = createChain();
Properties value = chain.connection_getClientInfo(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() throws SQLException {
FilterChainImpl chain = createChain();
chain.connection_rollback(this);
recycleFilterChain(chain);
if (transactionInfo != null) {
transactionInfo.setEndTimeMillis();
}
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method setSavepoint.
@Override
public Savepoint setSavepoint() throws SQLException {
FilterChainImpl chain = createChain();
Savepoint savepoint = chain.connection_setSavepoint(this);
recycleFilterChain(chain);
return savepoint;
}
use of com.alibaba.druid.filter.FilterChainImpl in project druid by alibaba.
the class ConnectionProxyImpl method commit.
@Override
public void commit() throws SQLException {
FilterChainImpl chain = createChain();
chain.connection_commit(this);
if (transactionInfo != null) {
transactionInfo.setEndTimeMillis();
}
recycleFilterChain(chain);
}
Aggregations