@Override public Object getObject(String parameterName) throws SQLException { return getDelegate().getObject(parameterName); }
@Override public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException { getDelegateCallableStatement().registerOutParameter(parameterIndex, sqlType); }
public CallableStatement getDelegateCallableStatement() { return (CallableStatement) getDelegateStatement(); }
@Override public final int executeUpdate(String sql) throws SQLException { return super.executeUpdate(connection.parse(sql)); }
@Override public final long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException { return super.executeLargeUpdate(connection.parse(sql), autoGeneratedKeys); }
@Override public final boolean execute(String sql) throws SQLException { return super.execute(connection.parse(sql)); }
@Override public final void addBatch(String sql) throws SQLException { super.addBatch(connection.parse(sql)); }
@Override public final ResultSet executeQuery(String sql) throws SQLException { return super.executeQuery(connection.translate(sql)); }
@Override public final int executeUpdate(String sql, String[] columnNames) throws SQLException { return super.executeUpdate(connection.parse(sql), columnNames); }
@Override public final long executeLargeUpdate(String sql) throws SQLException { return super.executeLargeUpdate(connection.parse(sql)); }
@Override public final boolean execute(String sql) throws SQLException { return super.execute(connection.translate(sql)); }
@Override public final void addBatch(String sql) throws SQLException { super.addBatch(connection.translate(sql)); }
@Override public final ResultSet executeQuery(String sql) throws SQLException { return new DiagnosticsResultSet(super.executeQuery(connection.parse(sql)), sql, this, connection); }
@Override public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException { return getDelegate().getObject(parameterIndex, type); }
@Override public Object getObject(int parameterIndex) throws SQLException { return getDelegateCallableStatement().getObject(parameterIndex); }
@Override public final int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { return super.executeUpdate(connection.translate(sql), autoGeneratedKeys); }
@Override public final long executeLargeUpdate(String sql) throws SQLException { return super.executeLargeUpdate(connection.translate(sql)); }
@Override public final boolean execute(String sql, String[] columnNames) throws SQLException { return super.execute(connection.translate(sql), columnNames); }
@Override public void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) throws SQLException { getDelegate().registerOutParameter(parameterIndex, sqlType, typeName); }
@Override public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException { getDelegateCallableStatement().registerOutParameter(parameterName, sqlType, scale); }