public void setNString(int parameterIndex, String value) throws SQLException { setObject(parameterIndex, value); }
public void setNull(int parameterIndex, int jdbcType) throws SQLException { setObject(parameterIndex, null); }
public void setNString(int parameterIndex, String value) throws SQLException { setObject(parameterIndex, value); }
public void setNull(int parameterIndex, int jdbcType, String typeName) throws SQLException { setObject(parameterIndex, null); }
public void setBytes(int parameterIndex, byte bytes[]) throws SQLException { setObject(parameterIndex, bytes); }
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { setObject(parameterIndex, xmlObject); }
public void setObject (int parameterIndex, Object value, int targetJdbcType, int scale) throws SQLException { setObject(Integer.valueOf(parameterIndex), value, targetJdbcType, scale); }
public void setObject(int parameterIndex, Object value) throws SQLException { setObject(Integer.valueOf(parameterIndex), value); }
public void setShort(int parameterIndex, short value) throws SQLException { setObject(parameterIndex, Short.valueOf(value)); }
public void setBoolean (int parameterIndex, boolean value) throws SQLException { setObject(parameterIndex, Boolean.valueOf(value)); }
void setBlob(Object parameterIndex, final InputStream inputStream) throws SQLException { if (inputStream == null) { this.setObject(parameterIndex, null); return; } this.setObject(parameterIndex, new BlobImpl(new InputStreamFactory() { @Override public InputStream getInputStream() throws IOException { return inputStream; } })); }
void setAsciiStream(Object parameterIndex, final InputStream x) throws SQLException { if (x == null) { this.setObject(parameterIndex, null); return; } this.setObject(parameterIndex, new ClobImpl(new InputStreamFactory() { @Override public InputStream getInputStream() throws IOException { return x; } }, -1)); }
void setDate(Object parameterIndex, java.sql.Date x ,java.util.Calendar cal) throws SQLException { if (cal == null || x == null) { setObject(parameterIndex, x); return; } // set the parameter on the stored procedure setObject(parameterIndex, TimestampWithTimezone.createDate(x, cal.getTimeZone(), getDefaultCalendar())); }
void setTime(Object parameterIndex, java.sql.Time x, java.util.Calendar cal) throws SQLException { if (cal == null || x == null) { setObject(parameterIndex, x); return; } // set the parameter on the stored procedure setObject(parameterIndex, TimestampWithTimezone.createTime(x, cal.getTimeZone(), getDefaultCalendar())); }
void setDate(Object parameterIndex, java.sql.Date x ,java.util.Calendar cal) throws SQLException { if (cal == null || x == null) { setObject(parameterIndex, x); return; } // set the parameter on the stored procedure setObject(parameterIndex, TimestampWithTimezone.createDate(x, cal.getTimeZone(), getDefaultCalendar())); }
void setTimestamp(Object parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws SQLException { if (cal == null || x == null) { setObject(parameterIndex, x); return; } // set the parameter on the stored procedure setObject(parameterIndex, TimestampWithTimezone.createTimestamp(x, cal.getTimeZone(), getDefaultCalendar())); }
void setTimestamp(Object parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws SQLException { if (cal == null || x == null) { setObject(parameterIndex, x); return; } // set the parameter on the stored procedure setObject(parameterIndex, TimestampWithTimezone.createTimestamp(x, cal.getTimeZone(), getDefaultCalendar())); }
void setTime(Object parameterIndex, java.sql.Time x, java.util.Calendar cal) throws SQLException { if (cal == null || x == null) { setObject(parameterIndex, x); return; } // set the parameter on the stored procedure setObject(parameterIndex, TimestampWithTimezone.createTime(x, cal.getTimeZone(), getDefaultCalendar())); }