📄 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 */ 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 */ 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 */ 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 */ 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 */ void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException; /** * @since 1.4 */ URL getURL(int parameterIndex) throws SQLException; /** * @since 1.4 */ void setURL(String parameterName, URL val) throws SQLException; /** * @since 1.4 */ void setNull(String parameterName, int sqlType) throws SQLException; /** * @since 1.4 */ void setBoolean(String parameterName, boolean x) throws SQLException; /** * @since 1.4 */ void setByte(String parameterName, byte x) throws SQLException; /** * @since 1.4 */ void setShort(String parameterName, short x) throws SQLException; /** * @since 1.4 */ void setInt(String parameterName, int x) throws SQLException; /** * @since 1.4 */ void setLong(String parameterName, long x) throws SQLException; /** * @since 1.4 */ void setFloat(String parameterName, float x) throws SQLException; /** * @since 1.4 */ void setDouble(String parameterName, double x) throws SQLException; /** * @since 1.4 */ void setBigDecimal(String parameterName, BigDecimal x) throws SQLException; /** * @since 1.4 */ void setString(String parameterName, String x) throws SQLException; /** * @since 1.4 */ void setBytes(String parameterName, byte[] x) throws SQLException; /** * @since 1.4 */ void setDate(String parameterName, Date x) throws SQLException; /** * @since 1.4 */ void setTime(String parameterName, Time x) throws SQLException; /** * @since 1.4 */ void setTimestamp(String parameterName, Timestamp x) throws SQLException; /** * @since 1.4 */ void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException; /** * @since 1.4 */ void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException; /** * @since 1.4 */ void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException; /** * @since 1.4 */ void setObject(String parameterName, Object x, int targetSqlType) throws SQLException; /** * @since 1.4 */ void setObject(String parameterName, Object x) throws SQLException; /** * @since 1.4 */ void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException; /** * @since 1.4 */ void setDate(String parameterName, Date x, Calendar cal) throws SQLException; /** * @since 1.4 */ void setTime(String parameterName, Time x, Calendar cal) throws SQLException; /** * @since 1.4 */ void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException; /** * @since 1.4 */ void setNull(String parameterName, int sqlType, String typeName) throws SQLException; /** * @since 1.4 */ String getString(String parameterName) throws SQLException; /** * @since 1.4 */ boolean getBoolean(String parameterName) throws SQLException; /** * @since 1.4 */ byte getByte(String parameterName) throws SQLException; /** * @since 1.4 */ short getShort(String parameterName) throws SQLException; /** * @since 1.4 */ int getInt(String parameterName) throws SQLException; /** * @since 1.4 */ long getLong(String parameterName) throws SQLException; /** * @since 1.4 */ float getFloat(String parameterName) throws SQLException; /** * @since 1.4 */ double getDouble(String parameterName) throws SQLException; /** * @since 1.4 */ byte[] getBytes(String parameterName) throws SQLException; /** * @since 1.4 */ Date getDate(String parameterName) throws SQLException; /** * @since 1.4 */ Time getTime(String parameterName) throws SQLException; /** * @since 1.4 */ Timestamp getTimestamp(String parameterName) throws SQLException; /** * @since 1.4 */ Object getObject(String parameterName) throws SQLException; /** * @since 1.4 */ BigDecimal getBigDecimal(String parameterName) throws SQLException; /** * @since 1.4 */ Object getObject(String parameterName, Map map) throws SQLException; /** * @since 1.4 */ Ref getRef(String parameterName) throws SQLException; /** * @since 1.4 */ Blob getBlob(String parameterName) throws SQLException; /** * @since 1.4 */ Clob getClob(String parameterName) throws SQLException; /** * @since 1.4 */ Array getArray(String parameterName) throws SQLException; /** * @since 1.4 */ Date getDate(String parameterName, Calendar cal) throws SQLException; /** * @since 1.4 */ Time getTime(String parameterName, Calendar cal) throws SQLException; /** * @since 1.4 */ Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException; /** * @since 1.4 */ URL getURL(String parameterName) throws SQLException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -