P6OutagePreparedStatementExecuteDelegate executeDelegate = new P6OutagePreparedStatementExecuteDelegate(preparedStatementInformation);
P6OutagePreparedStatementAddBatchDelegate addBatchDelegate = new P6OutagePreparedStatementAddBatchDelegate(preparedStatementInformation);
P6OutagePreparedStatementSetParameterValueDelegate setParameterValueDelegate = new P6OutagePreparedStatementSetParameterValueDelegate(preparedStatementInformation);
addDelegate(
new MethodNameMatcher("executeBatch"),
executeDelegate
);
addDelegate(
new MethodNameMatcher("addBatch"),
addBatchDelegate
);
addDelegate(
new MethodNameMatcher("execute"),
executeDelegate
);
addDelegate(
new MethodNameMatcher("executeQuery"),
executeDelegate
);
addDelegate(
new MethodNameMatcher("executeUpdate"),
executeDelegate
);
addDelegate(
new MethodNameMatcher("set*"),
setParameterValueDelegate
);
}