@Override public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return CallableStatementWrapper.wrap(delegate.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability), new CallableStatementInformation(connectionInformation, sql), jdbcEventListener); }
final String statementQuery = getStatementQuery(); for( Map.Entry<Integer, Value> entry : getParameterValues().entrySet() ) { appendParameter(parameters, entry.getKey().toString(), entry.getValue()); appendParameter(parameters, entry.getKey(), entry.getValue());
@Override public void onAfterCallableStatementSet(CallableStatementInformation statementInformation, String parameterName, Object value, SQLException e) { statementInformation.setParameterValue(parameterName, value); }
final String statementQuery = getStatementQuery(); for( Map.Entry<Integer, Value> entry : getParameterValues().entrySet() ) { appendParameter(parameters, entry.getKey().toString(), entry.getValue()); appendParameter(parameters, entry.getKey(), entry.getValue());
@Override public CallableStatement prepareCall(String sql) throws SQLException { return CallableStatementWrapper.wrap(delegate.prepareCall(sql), new CallableStatementInformation(connectionInformation, sql), jdbcEventListener); }
@Override public void onAfterCallableStatementSet(CallableStatementInformation statementInformation, String parameterName, Object value, SQLException e) { statementInformation.setParameterValue(parameterName, value); }
@Override public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { return CallableStatementWrapper.wrap(delegate.prepareCall(sql, resultSetType, resultSetConcurrency), new CallableStatementInformation(connectionInformation, sql), jdbcEventListener); }
statementInformation = new StatementInformation(connectionInformation); preparedStatementInformation = new PreparedStatementInformation(connectionInformation, "SELECT * FROM DUAL"); callableStatementInformation = new CallableStatementInformation(connectionInformation, "SELECT * FROM DUAL");
@Override public CallableStatement prepareCall(String sql) throws SQLException { return CallableStatementWrapper.wrap(delegate.prepareCall(sql), new CallableStatementInformation(connectionInformation, sql), jdbcEventListener); }
@Override public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { return CallableStatementWrapper.wrap(delegate.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability), new CallableStatementInformation(connectionInformation, sql), jdbcEventListener); }
@Override public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { return CallableStatementWrapper.wrap(delegate.prepareCall(sql, resultSetType, resultSetConcurrency), new CallableStatementInformation(connectionInformation, sql), jdbcEventListener); }