このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XMultipleResults
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: sdbc ::

interface XMultipleResults
Description
is used for 検査/視察するing 多重の results produced by the 死刑執行 of a SQL 声明.

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 methods XMultipleResults::getMoreResults() , XMultipleResults::getResultSet() and XMultipleResults::getUpdateCount() let you navigate through 多重の results.

See also
XStatement, XPreparedStatement

Methods' 要約
getResultSet returns the 現在の result as a ResultSet 反対する. This method should be called only once per result.  
getUpdateCount returns the 現在の result as an update count.  
getMoreResults moves to a 声明's next result. It returns true if this result is a ResultSet. This method also 暗黙に の近くにs any 現在の ResultSet 得るd with getResultSet.  
Methods' 詳細(に述べる)s
getResultSet
XResultSet
getResultSet()
raises( SQLException );

Description
returns the 現在の result as a ResultSet 反対する. This method should be called only once per result.
Returns
the ResultSet 反対する
Throws
SQLException if a database 接近 error occurs.
getUpdateCount
long
getUpdateCount()
raises( SQLException );

Description
returns the 現在の result as an update count.

If the result is a ResultSet or there are no more results, -1 is returned. This method should be called only once per result.

Returns
the 現在の result as an update count.
Throws
SQLException if a database 接近 error occurs.
getMoreResults
boolean
getMoreResults()
raises( SQLException );

Description
moves to a 声明's next result. It returns true if this result is a ResultSet. This method also 暗黙に の近くにs any 現在の ResultSet 得るd with getResultSet.

There are no more results when (!getMoreResults() && getUpdateCount() == -1).

Returns
true if there 存在するs more ResultSet 反対するs
Throws
SQLException if a database 接近 error occurs.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.