Other mapping extensions
The remaining method signatures are listed next, along with any additional considerations that apply. In each case, the HCL Informix® type must be the last parameter to the standard JDBC PreparedStatement.setXXX() interface.
public void setArray(int parameterIndex, Array x, int ifxType)
throws SQLExceptionpublic void setAsciiStream(int i, InputStream x, int length, int
ifxType) throws SQLExceptionWhen your application is inserting a very large ASCII value into a LONGVARCHAR column, it is sometimes more efficient to send the ASCII value to the server using java.io.InputStream.
public void setBigDecimal(int i, BigDecimal x, int ifxType)
throws SQLExceptionpublic void setBinaryStream(int i, InputStream x, int length, int
ifxType) throws SQLExceptionWhen your application is inserting a very large binary value into a LONGVARbinary column, it is sometimes more efficient to send the binary value to the server using java.io.InputStream.
public void setBlob(int parameterIndex, Blob x, int ifxType)
throws SQLExceptionpublic void setBoolean(int i, boolean x, int ifxType) throws
SQLExceptionpublic void setByte(int i, byte x, int ifxType) throws
SQLExceptionpublic void setBytes(int i, byte x[], int ifxType) throws
SQLExceptionpublic void setCharacterStream(int parameterIndex, Reader reader,
int length, int ifxType) throws SQLExceptionWhen your application is setting a LONGVARCHAR parameter to a very large UNICODE value, it is sometimes more efficient to send the UNICODE value to the server using java.io.Reader.
public void setClob(int parameterIndex, Clob x, int ifxType)
throws SQLExceptionpublic void setDate(int i, Date x, int ifxType) throws
SQLException
public void setDate(int parameterIndex, Date x, Calendar Cal,
int ifxType) throws SQLExceptionpublic void setDouble(int i, double x, int ifxType) throws SQ
LExceptionpublic void setFloat(int i, float x, int ifxType) throws
SQLExceptionpublic void setInt(int i, int x, int ifxType) throws SQLExceptionpublic void setLong(int i, long x, int ifxType) throws
SQLExceptionpublic void setNull(int i, int sqlType, int ifxType) throws
SQLExceptionpublic void setShort(int i, short x, int ifxType) throws
SQLExceptionpublic void setString(int i, String x, int ifxType) throws
SQLExceptionpublic void setTime(int i, Time x, int ifxType) throws
SQLException
public void setTime(int parameterIndex, Time time, Calendar Cal,
int ifxType) throws SQLExceptionpublic void setTimestamp(int i, Timestamp x, int ifxType) throws
SQLException
public void setTimestamp(int parameterIndex, Timestamp x, Calendar
Cal) throws SQLException