public class ConnectionFactoryImpl extends ConnectionFactory
| Constructor and Description |
|---|
ConnectionFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
QueryExecutor |
openConnectionImpl(HostSpec[] hostSpecs,
Properties info)
Implementation of
ConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.util.Properties) for a particular protocol version. |
closeStream, openConnectionpublic QueryExecutor openConnectionImpl(HostSpec[] hostSpecs, Properties info) throws SQLException
ConnectionFactoryConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.util.Properties) for a particular protocol version. Implemented by
subclasses of ConnectionFactory.openConnectionImpl in class ConnectionFactoryhostSpecs - 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.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.Copyright © 1997-2022 PostgreSQL Global Development Group. All Rights Reserved.