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

翻訳前ページへ


Interface XDataSource
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XDataSource
Description
is used for 設立するing 関係s 経由で a factory which is identified by its 指名する. A DataSource 反対する is typically 登録(する)d by a 指名するing service provider.
Developers Guide
Database - Connecting Through a DataSource

Methods' 要約
getConnection 試みる/企てるs to 設立する a database 関係.  
setLoginTimeout 始める,決めるs the 最大限 time in seconds that this data source will wait while 試みる/企てるing to connect to a database.  
getLoginTimeout gets the 最大限 time in seconds that this data source can wait while 試みる/企てるing to connect to a database.  
Methods' 詳細(に述べる)s
getConnection
XConnection
getConnection( [in] string  使用者,
[in] string  password )
raises( SQLException );

Description
試みる/企てるs to 設立する a database 関係.
Parameter 使用者
the 使用者 指名する
Parameter password
the password
Returns
the 関係 反対する
Throws
SQLException if a database 接近 error occurs.
setLoginTimeout
無効の
setLoginTimeout( [in] long  seconds )
raises( SQLException );

Description
始める,決めるs the 最大限 time in seconds that this data source will wait while 試みる/企てるing to connect to a database.

A value of 無 明示するs that the timeout is the default system timeout if there is one; さもなければ, it 明示するs that there is no timeout. When a DataSource 反対する is created the login timeout is 最初 無.

Parameter seconds
the login time 限界 in seconds
Throws
SQLException if a database 接近 error occurs.
getLoginTimeout
long
getLoginTimeout()
raises( SQLException );

Description
gets the 最大限 time in seconds that this data source can wait while 試みる/企てるing to connect to a database.

A value of 無 means that the timeout is the default system timeout if there is one; さもなければ, it means that there is no timeout. When a DataSource 反対する is created the login timeout is 最初 無.

Returns
the login time 限界 in seconds
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.