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

翻訳前ページへ


Service PreparedStatement
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service PreparedStatement
Description
代表するs a precompiled SQL 声明.

A SQL 声明 is pre-収集するd and 蓄える/店d in a PreparedStatement 反対する. This 反対する can then be used to efficiently 遂行する/発効させる this 声明 多重の times.

公式文書,認める: The setXXX methods for setting IN parameter values must 明示する types that are 両立できる with the defined SQL type of the input parameter. For instance, if the IN parameter has SQL type Integer, then the method XParameters::setInt() should be used.

If 独断的な parameter type 転換s are 要求するd, the method XParameters::setObject() should be used with a 的 SQL type.

Example of setting a parameter; 反対/詐欺 is an active 関係.

Example
:StarBASIC
 
 pstmt = 反対/詐欺.prepareStatement("UPDATE EMPLOYEES SET SALARY = ? WHERE ID = ?") 
 pstmt.setDouble(1, 153833.00) 
 pstmt.setLong(2, 110592) 
 

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.


輸出(する)d Interfaces - 要約
::com::sun::星/主役にする::lang::XComponent

optional for 実施, 支配(する)/統制するs the 解放(する)ing of 資源s and the notification of 登録(する)d listeners. (詳細(に述べる)s)

XCloseable

解放する/自由なing all 資源s of a 声明. A 関係のある resultset will be 解放する/自由なd 同様に.

::com::sun::星/主役にする::beans::XPropertySet
(言及/関連d (独立の)存在's 要約:)
供給するs (警察などへの)密告,告訴(状) about and 接近 to the 所有物/資産/財産s from an 実施.
::com::sun::星/主役にする::util::XCancellable

could be used for cancelling the 死刑執行 of SQL 声明s, if both the DBMS and the driver support 中止するing an SQL 声明. The 実施 is optional. (詳細(に述べる)s)

XPreparedStatement

is the interface for 遂行する/発効させるing SQL 用意が出来ている 命令(する)s.

XResultSetMetaDataSupplier

供給するs 接近 to the description of the result 始める,決める which would be 生成するd by 遂行する/発効させるing the PreparedStatement.

XParameters

is used for setting parameters before 死刑執行 of the precompiled 声明.

XPreparedBatchExecution

供給するs the ability of (製品,工事材料の)一回分 死刑執行. This interface is optional for 死刑執行. (詳細(に述べる)s)

XWarningsSupplier

支配(する)/統制するs the chaining of 警告s, which may occur on every call to the connected database. Chained 警告s from previous calls will be (疑いを)晴らすd before 過程ing a new call.

XMultipleResults

covers the 扱うing of 多重の results after 遂行する/発効させるing an SQL 命令(する).

所有物/資産/財産s' 要約
long
QueryTimeOut
retrieves the number of seconds the driver will wait for a 声明 to 遂行する/発効させる. If the 限界 is 越えるd, a SQLException is thrown. There is no 制限, if 始める,決める to 無.  
long
MaxFieldSize
returns the 最大限 number of bytes 許すd for any column value.  
long
MaxRows
retrieves the 最大限 number of 列/漕ぐ/騒動s that a ResultSet can 含む/封じ込める. If the 限界 is 越えるd, the 超過 列/漕ぐ/騒動s are silently dropped.
There is no 制限, if 始める,決める to 無.  
string
CursorName
defines the SQL cursor 指名する that will be used by その後の 声明 遂行する/発効させる methods.  
long
ResultSetConcurrency
retrieves the result 始める,決める concurrency.  
long
ResultSetType
決定する the result 始める,決める type.  
long
FetchDirection
retrieves the direction for fetching 列/漕ぐ/騒動s from database (米)棚上げする/(英)提議するs that is the default for result 始める,決めるs 生成するd from this 声明 反対する.  
long
FetchSize
retrieves the number of result 始める,決める 列/漕ぐ/騒動s that is the default fetch size for result 始める,決めるs 生成するd from this 声明 反対する.  
輸出(する)d Interfaces - 詳細(に述べる)s
::com::sun::星/主役にする::lang::XComponent
Usage 制限s
optional
Description
optional for 実施, 支配(する)/統制するs the 解放(する)ing of 資源s and the notification of 登録(する)d listeners.
XCloseable
Description
解放する/自由なing all 資源s of a 声明. A 関係のある resultset will be 解放する/自由なd 同様に.
::com::sun::星/主役にする::beans::XPropertySet
(言及/関連d (独立の)存在's 要約:)
供給するs (警察などへの)密告,告訴(状) about and 接近 to the 所有物/資産/財産s from an 実施.
::com::sun::星/主役にする::util::XCancellable
Usage 制限s
optional
Description
could be used for cancelling the 死刑執行 of SQL 声明s, if both the DBMS and the driver support 中止するing an SQL 声明. The 実施 is optional.
XPreparedStatement
Description
is the interface for 遂行する/発効させるing SQL 用意が出来ている 命令(する)s.
XResultSetMetaDataSupplier
Description
供給するs 接近 to the description of the result 始める,決める which would be 生成するd by 遂行する/発効させるing the PreparedStatement.
XParameters
Description
is used for setting parameters before 死刑執行 of the precompiled 声明.
XPreparedBatchExecution
Usage 制限s
optional
Description
供給するs the ability of (製品,工事材料の)一回分 死刑執行. This interface is optional for 死刑執行.

A driver 器具/実施するing (製品,工事材料の)一回分 死刑執行 must return true for XDatabaseMetaData::supportsBatchUpdates()

XWarningsSupplier
Description
支配(する)/統制するs the chaining of 警告s, which may occur on every call to the connected database. Chained 警告s from previous calls will be (疑いを)晴らすd before 過程ing a new call.
XMultipleResults
Description
covers the 扱うing of 多重の results after 遂行する/発効させるing an SQL 命令(する).
所有物/資産/財産s' 詳細(に述べる)s
QueryTimeOut
long QueryTimeOut;
Description
retrieves the number of seconds the driver will wait for a 声明 to 遂行する/発効させる. If the 限界 is 越えるd, a SQLException is thrown. There is no 制限, if 始める,決める to 無.
MaxFieldSize
long MaxFieldSize;
Description
returns the 最大限 number of bytes 許すd for any column value.

This 限界 is the 最大限 number of bytes that can be returned for any column value. The 限界 適用するs only to DataType::BINARY , DataType::VARBINARY , DataType::LONGVARBINARY , DataType::CHAR , DataType::VARCHAR , and DataType::LONGVARCHAR columns. If the 限界 is 越えるd, the 超過 data is silently discarded.

There is no 制限, if 始める,決める to 無.

MaxRows
long MaxRows;
Description
retrieves the 最大限 number of 列/漕ぐ/騒動s that a ResultSet can 含む/封じ込める. If the 限界 is 越えるd, the 超過 列/漕ぐ/騒動s are silently dropped.
There is no 制限, if 始める,決める to 無.
CursorName
string CursorName;
Description
defines the SQL cursor 指名する that will be used by その後の 声明 遂行する/発効させる methods.

This 指名する can then be used in SQL positioned update/削除する 声明s to identify the 現在の 列/漕ぐ/騒動 in the ResultSet 生成するd by this 声明. If the database does not support positioned update/削除する, this 所有物/資産/財産 is a noop. To insure that a cursor has the proper 孤立/分離 level to support updates, the cursor's SELECT 声明 should be of the form 'select for update ...'. If the 'for update' phrase is omitted, positioned updates may fail.

公式文書,認める: By 鮮明度/定義, positioned update/削除する 死刑執行 must be done by a different 声明 than the one which 生成するd the ResultSet 存在 used for positioning. Also, cursor 指名するs must be unique within a 関係.

ResultSetConcurrency
long ResultSetConcurrency;
Description
retrieves the result 始める,決める concurrency.
See also
ResultSetConcurrency
ResultSetType
long ResultSetType;
Description
決定する the result 始める,決める type.
See also
ResultSetType
FetchDirection
long FetchDirection;
Description
retrieves the direction for fetching 列/漕ぐ/騒動s from database (米)棚上げする/(英)提議するs that is the default for result 始める,決めるs 生成するd from this 声明 反対する.

If this 声明 反対する has not 始める,決める a fetch direction, the return value is 実施-明確な/細部.

FetchSize
long FetchSize;
Description
retrieves the number of result 始める,決める 列/漕ぐ/騒動s that is the default fetch size for result 始める,決めるs 生成するd from this 声明 反対する.

If this 声明 反対する has not 始める,決める a fetch size, the return value is 実施-明確な/細部.


 
最高の,を越す of Page

The ASF

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

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