📄 callablestatement.java
字号:
* @param index The index of the parameter to return. * @return The parameter value as a <code>java.sql.Timestamp</code>. * @exception SQLException If an error occurs. * @since 1.2 */ public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException; /** * This method registers the specified parameter as an output parameter * of the specified SQL type. * * @param index The index of the parameter to register as output. * @param type The SQL type value from <code>Types</code>. * @param name The user defined data type name. * @exception SQLException If an error occurs. * @since 1.2 */ public void registerOutParameter(int paramIndex, int sqlType, String typeName) throws SQLException; /** * This method registers the specified parameter as an output parameter * of the specified SQL type. * * @param parameterName The name of the parameter to register as output. * @param sqlType The SQL type value from <code>Types</code>. * @exception SQLException If an error occurs. * @since 1.4 */ public void registerOutParameter(String parameterName, int sqlType) throws SQLException; /** * This method registers the specified parameter as an output parameter * of the specified SQL type. This version of registerOutParameter is used * for NUMERIC or DECIMAL types. * * @param parameterName The name of the parameter to register as output. * @param sqlType The SQL type value from <code>Types</code>. * @param scale Number of digits to the right of the decimal point. * @exception SQLException If an error occurs. * @since 1.4 */ public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException; /** * This method registers the specified parameter as an output parameter * of the specified SQL type. This version of registerOutParameter is used * for user-named or REF types. If the type of the output parameter does * not have such a type, the typeName argument is ignored. * * @param parameterName The name of the parameter to register as output. * @param sqlType The SQL type value from <code>Types</code>. * @param typeName The SQL structured type name. * @exception SQLException If an error occurs. * @since 1.4 */ public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException; /** * @since 1.4 */ public URL getURL(int parameterIndex) throws SQLException; /** * @since 1.4 */ public void setURL(String parameterName, URL val) throws SQLException; /** * @since 1.4 */ public void setNull(String parameterName, int sqlType) throws SQLException; /** * @since 1.4 */ public void setBoolean(String parameterName, boolean x) throws SQLException; /** * @since 1.4 */ public void setByte(String parameterName, byte x) throws SQLException; /** * @since 1.4 */ public void setShort(String parameterName, short x) throws SQLException; /** * @since 1.4 */ public void setInt(String parameterName, int x) throws SQLException; /** * @since 1.4 */ public void setLong(String parameterName, long x) throws SQLException; /** * @since 1.4 */ public void setFloat(String parameterName, float x) throws SQLException; /** * @since 1.4 */ public void setDouble(String parameterName, double x) throws SQLException; /** * @since 1.4 */ public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException; /** * @since 1.4 */ public void setString(String parameterName, String x) throws SQLException; /** * @since 1.4 */ public void setBytes(String parameterName, byte[] x) throws SQLException; /** * @since 1.4 */ public void setDate(String parameterName, Date x) throws SQLException; /** * @since 1.4 */ public void setTime(String parameterName, Time x) throws SQLException; /** * @since 1.4 */ public void setTimestamp(String parameterName, Timestamp x) throws SQLException; /** * @since 1.4 */ public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException; /** * @since 1.4 */ public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException; /** * @since 1.4 */ public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException; /** * @since 1.4 */ public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException; /** * @since 1.4 */ public void setObject(String parameterName, Object x) throws SQLException; /** * @since 1.4 */ public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException; /** * @since 1.4 */ public void setDate(String parameterName, Date x, Calendar cal) throws SQLException; /** * @since 1.4 */ public void setTime(String parameterName, Time x, Calendar cal) throws SQLException; /** * @since 1.4 */ public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException; /** * @since 1.4 */ public void setNull(String parameterName, int sqlType, String typeName) throws SQLException; /** * @since 1.4 */ public String getString(String parameterName) throws SQLException; /** * @since 1.4 */ public boolean getBoolean(String parameterName) throws SQLException; /** * @since 1.4 */ public byte getByte(String parameterName) throws SQLException; /** * @since 1.4 */ public short getShort(String parameterName) throws SQLException; /** * @since 1.4 */ public int getInt(String parameterName) throws SQLException; /** * @since 1.4 */ public long getLong(String parameterName) throws SQLException; /** * @since 1.4 */ public float getFloat(String parameterName) throws SQLException; /** * @since 1.4 */ public double getDouble(String parameterName) throws SQLException; /** * @since 1.4 */ public byte[] getBytes(String parameterName) throws SQLException; /** * @since 1.4 */ public Date getDate(String parameterName) throws SQLException; /** * @since 1.4 */ public Time getTime(String parameterName) throws SQLException; /** * @since 1.4 */ public Timestamp getTimestamp(String parameterName) throws SQLException; /** * @since 1.4 */ public Object getObject(String parameterName) throws SQLException; /** * @since 1.4 */ public BigDecimal getBigDecimal(String parameterName) throws SQLException; /** * @since 1.4 */ public Object getObject(String parameterName, Map map) throws SQLException; /** * @since 1.4 */ public Ref getRef(String parameterName) throws SQLException; /** * @since 1.4 */ public Blob getBlob(String parameterName) throws SQLException; /** * @since 1.4 */ public Clob getClob(String parameterName) throws SQLException; /** * @since 1.4 */ public Array getArray(String parameterName) throws SQLException; /** * @since 1.4 */ public Date getDate(String parameterName, Calendar cal) throws SQLException; /** * @since 1.4 */ public Time getTime(String parameterName, Calendar cal) throws SQLException; /** * @since 1.4 */ public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException; /** * @since 1.4 */ public URL getURL(String parameterName) throws SQLException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -