パッケージ org.postgresql.core.v3
クラス ConnectionFactoryImpl
java.lang.Object
org.postgresql.core.ConnectionFactory
org.postgresql.core.v3.ConnectionFactoryImpl
ConnectionFactory implementation for version 3 (7.4+) connections.
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明openConnectionImpl
(HostSpec[] hostSpecs, Properties info) Implementation ofConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.util.Properties)
for a particular protocol version.クラスから継承されたメソッド org.postgresql.core.ConnectionFactory
closeStream, openConnection
-
コンストラクタの詳細
-
ConnectionFactoryImpl
public ConnectionFactoryImpl()
-
-
メソッドの詳細
-
openConnectionImpl
クラスからコピーされた説明:ConnectionFactory
Implementation ofConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.util.Properties)
for a particular protocol version. Implemented by subclasses ofConnectionFactory
.- 定義:
openConnectionImpl
クラス内ConnectionFactory
- パラメータ:
hostSpecs
- at least one host and port to connect to; multiple elements for round-robin failoverinfo
- extra properties controlling the connection; notably, "password" if present supplies the password to authenticate with.- 戻り値:
- the new, initialized, connection, or
null
if this protocol version is not supported by the server. - 例外:
SQLException
- if the connection could not be established for a reason other than protocol version incompatibility.
-