Language
Asturianu (ast)
Catal? (ca)
?e?tina (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Espa?ol (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Fran?ais (fr)
G?idhlig (gd)
Galego (gl)
Italiano (it)
Lietuvi? (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Portugu?s [do Brasil] (pt-BR)
Portugu?s [Europeu] (pt)
Rom?n? (ro)
Sloven?ina (sk)
Sloven??ina (sl)
Suomi (fi)
Svenska (sv)
Yкра?нська (uk)
Ti?ng Vi?t (vi)
T?rk?e (tr)
???? (om)
??????? (hy)
Ελληνικ? (el)
български език (bg)
Русский (ru)
Cрпски [?ирилицом] (sr)
????? (he)
?????? (hi)
????????? (km)
????? (ta)
??????? (th)
?体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
??? (ko)
The 解放する/自由な and Open 生産性 控訴
:: com :: sun :: 星/主役にする :: sdbc ::
interface XStatement
Description
is used for 遂行する/発効させるing a static SQL 声明 and 得るing the results
produced by it.
Only one ResultSet per 声明 can be open at any point in
time; therefore, if the reading of one ResultSet is interleaved
with the reading of another, each must have been 生成するd by
different 声明s. All 声明
遂行する/発効させる
methods 暗黙に
の近くに a 声明's 現在の ResultSet if an open one 存在するs.
Methods' 要約
executeQuery
遂行する/発効させるs a SQL 声明 that returns a 選び出す/独身 ResultSet.
executeUpdate
遂行する/発効させるs an SQL INSERT, UPDATE, or DELETE 声明. In 新規加入,
SQL 声明s that return nothing, such as SQL DDL 声明s,
can be 遂行する/発効させるd.
遂行する/発効させる
遂行する/発効させるs a SQL 声明 that may return 多重の results.
getConnection
returns the
関係
反対する
that produced this
声明
反対する.
Methods' 詳細(に述べる)s
executeQuery
Description
遂行する/発効させるs a SQL 声明 that returns a 選び出す/独身 ResultSet.
Parameter sql
the SQL 声明 which should be 遂行する/発効させるd
Returns
a ResultSet that 含む/封じ込めるs the data produced by the query; never NULL
Throws
SQLException
if a database 接近 error occurs.
executeUpdate
long
executeUpdate (
[in] string
sql )
raises(
SQLException );
Description
遂行する/発効させるs an SQL INSERT, UPDATE, or DELETE 声明. In 新規加入,
SQL 声明s that return nothing, such as SQL DDL 声明s,
can be 遂行する/発効させるd.
Parameter sql
a SQL INSERT, UPDATE or DELETE 声明 or a SQL 声明 that returns nothing
Returns
either the 列/漕ぐ/騒動 count for INSERT, UPDATE or DELETE or 0 for SQL 声明s that return nothing
Throws
SQLException
if a database 接近 error occurs.
遂行する/発効させる
boolean
遂行する/発効させる (
[in] string
sql )
raises(
SQLException );
Description
遂行する/発効させるs a SQL 声明 that may return 多重の results.
Under some (uncommon) 状況/情勢s a 選び出す/独身 SQL 声明 may return
多重の result 始める,決めるs and/or update counts. 普通は you can ignore
this unless you are (1) 遂行する/発効させるing a 蓄える/店d 手続き that you know may
return 多重の results or (2) you are dynamically 遂行する/発効させるing an
unknown SQL string. The 航海 through 多重の results is covered by
XMultipleResults .
The
遂行する/発効させる
method 遂行する/発効させるs a SQL 声明 and 示すs
the form of the first result. You can then use
XStatement ::getResultSet()
or
XStatement ::getUpdateCount()
to retrieve the result, and
XStatement ::getMoreResults()
to move to any その後の result(s).
Parameter sql
any SQL 声明
Returns
true if the next result is a ResultSet; 誤った if it is an update count or there are no more results
Throws
SQLException
if a database 接近 error occurs.
getConnection
Description
returns the
関係
反対する
that produced this
声明
反対する.
Returns
the 関係 that produced this 声明
Throws
SQLException
if a database 接近 error occurs.
最高の,を越す of Page Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.