📄 sqlexception.html
字号:
<BR> Sets the designated parameter to a <code>java.math.BigDecimal</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setString(int, java.lang.String)">setString</A></B>(int parameterIndex, <A HREF="../../../java/lang/String.html">String</A> x)</CODE><BR> Sets the designated parameter to a Java <code>String</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setBytes(int, byte[])">setBytes</A></B>(int parameterIndex, byte[] x)</CODE><BR> Sets the designated parameter to a Java array of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setDate(int, java.sql.Date)">setDate</A></B>(int parameterIndex, <A HREF="../../../java/sql/Date.html">Date</A> x)</CODE><BR> Sets the designated parameter to a <code<java.sql.Date</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setTime(int, java.sql.Time)">setTime</A></B>(int parameterIndex, <A HREF="../../../java/sql/Time.html">Time</A> x)</CODE><BR> Sets the designated parameter to a <code>java.sql.Time</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setTimestamp(int, java.sql.Timestamp)">setTimestamp</A></B>(int parameterIndex, <A HREF="../../../java/sql/Timestamp.html">Timestamp</A> x)</CODE><BR> Sets the designated parameter to a <code>java.sql.Timestamp</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setAsciiStream(int, java.io.InputStream, int)">setAsciiStream</A></B>(int parameterIndex, <A HREF="../../../java/io/InputStream.html">InputStream</A> x, int length)</CODE><BR> Sets the designated parameter to the given input stream, which will have the specified number of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setUnicodeStream(int, java.io.InputStream, int)">setUnicodeStream</A></B>(int parameterIndex, <A HREF="../../../java/io/InputStream.html">InputStream</A> x, int length)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setBinaryStream(int, java.io.InputStream, int)">setBinaryStream</A></B>(int parameterIndex, <A HREF="../../../java/io/InputStream.html">InputStream</A> x, int length)</CODE><BR> Sets the designated parameter to the given input stream, which will have the specified number of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#clearParameters()">clearParameters</A></B>()</CODE><BR> Clears the current parameter values immediately.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setObject(int, java.lang.Object, int, int)">setObject</A></B>(int parameterIndex, <A HREF="../../../java/lang/Object.html">Object</A> x, int targetSqlType, int scale)</CODE><BR> Sets the value of the designated parameter with the given object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setObject(int, java.lang.Object, int)">setObject</A></B>(int parameterIndex, <A HREF="../../../java/lang/Object.html">Object</A> x, int targetSqlType)</CODE><BR> Sets the value of the designated parameter with the given object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setObject(int, java.lang.Object)">setObject</A></B>(int parameterIndex, <A HREF="../../../java/lang/Object.html">Object</A> x)</CODE><BR> Sets the value of the designated parameter using the given object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#execute()">execute</A></B>()</CODE><BR> Executes any kind of SQL statement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#addBatch()">addBatch</A></B>()</CODE><BR> Adds a set of parameters to this <code>PreparedStatement</code> object's batch of commands.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setCharacterStream(int, java.io.Reader, int)">setCharacterStream</A></B>(int parameterIndex, <A HREF="../../../java/io/Reader.html">Reader</A> reader, int length)</CODE><BR> Sets the designated parameter to the given <code>Reader</code> object, which is the given number of characters long.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setRef(int, java.sql.Ref)">setRef</A></B>(int i, <A HREF="../../../java/sql/Ref.html">Ref</A> x)</CODE><BR> Sets the designated parameter to the given <code>REF(<structured-type>)</code> value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setBlob(int, java.sql.Blob)">setBlob</A></B>(int i, <A HREF="../../../java/sql/Blob.html">Blob</A> x)</CODE><BR> Sets the designated parameter to the given <code>Blob</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setClob(int, java.sql.Clob)">setClob</A></B>(int i, <A HREF="../../../java/sql/Clob.html">Clob</A> x)</CODE><BR> Sets the designated parameter to the given <code>Clob</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setArray(int, java.sql.Array)">setArray</A></B>(int i, <A HREF="../../../java/sql/Array.html">Array</A> x)</CODE><BR> Sets the designated parameter to the given <code>Array</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/sql/ResultSetMetaData.html">ResultSetMetaData</A></CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#getMetaData()">getMetaData</A></B>()</CODE><BR> Gets the number, types and properties of a <code>ResultSet</code> object's columns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setDate(int, java.sql.Date, java.util.Calendar)">setDate</A></B>(int parameterIndex, <A HREF="../../../java/sql/Date.html">Date</A> x, <A HREF="../../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Sets the designated parameter to the given <code>java.sql.Date</code> value, using the given <code>Calendar</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setTime(int, java.sql.Time, java.util.Calendar)">setTime</A></B>(int parameterIndex, <A HREF="../../../java/sql/Time.html">Time</A> x, <A HREF="../../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Sets the designated parameter to the given <code>java.sql.Time</code> value, using the given <code>Calendar</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setTimestamp(int, java.sql.Timestamp, java.util.Calendar)">setTimestamp</A></B>(int parameterIndex, <A HREF="../../../java/sql/Timestamp.html">Timestamp</A> x, <A HREF="../../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Sets the designated parameter to the given <code>java.sql.Timestamp</code> value, using the given <code>Calendar</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PreparedStatement.</B><B><A HREF="../../../java/sql/PreparedStatement.html#setNull(int, int, java.lang.String)">setNull</A></B>(int paramIndex, int sqlType, <A HREF="../../../java/lang/String.html">String</A> typeName)</CODE><BR> Sets the designated parameter to SQL <code>NULL</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B>SQLData.</B><B><A HREF="../../../java/sql/SQLData.html#getSQLTypeName()">getSQLTypeName</A></B>()</CODE><BR> Returns the fully-qualified name of the SQL user-defined type that this object represents.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -