public CallableStatement wrapCallableStatement ( CallableStatement callableStatement , String sql ) { Query query = new Query ( sql ) ; Timer . Context lifeTimerContext = getMetricHelper ( ) . startCallableStatementLifeTimer ( query ) ; return newProxy ( new CallableStatementProxyHandler ( callableStatement , this , query , lifeTimerContext ) ) ; }
Wrap a callable statement to monitor it .