Property Name | Description | Reqired | Choices | Sample Value | |||||||
PGDBNAME | Database name to connect to; may be specified directly in the JDBC URL. | true | null | ||||||||
user | Username to connect to the database as. | true | bizteco | ||||||||
PGHOST | Hostname of the PostgreSQL server; may be specified directly in the JDBC URL. | false | null | ||||||||
PGPORT | Port number to connect to the PostgreSQL server on; may be specified directly in the JDBC URL. | false | null | ||||||||
password | Password to use when authenticating. | false | btc7btc | ||||||||
protocolVersion | Force use of a particular protocol version when connecting; if set, disables protocol version fallback. | false | null | ||||||||
ssl | Control use of SSL; any nonnull value causes SSL to be required. | false | null | ||||||||
sslfactory | Provide a SSLSocketFactory class when using SSL. | false | null | ||||||||
sslfactoryarg | Argument forwarded to constructor of SSLSocketFactory class. | false | null | ||||||||
loglevel | Control the driver's log verbosity: 0 is off, 1 is INFO, 2 is DEBUG. | false |
| null | |||||||
allowEncodingChanges | Allow the user to change the client_encoding variable. | false | null | ||||||||
logUnclosedConnections | When connections that are not explicitly closed are garbage collected, log the stacktrace from the opening of the connection to trace the leak source. | false | null | ||||||||
prepareThreshold | Default statement prepare threshold (numeric). | false | null | ||||||||
binaryTransfer | Use binary format for sending and receiving data if possible. | false | null | ||||||||
binaryTransferEnable | Comma separated list of types to enable binary transfer. Either OID numbers or names. | false | null | ||||||||
binaryTransferDisable | Comma separated list of types to disable binary transfer. Either OID numbers or names. Overrides values in the driver default set and values set with binaryTransferEnable. | false | null | ||||||||
charSet | When connecting to a pre-7.3 server, the database encoding to assume is in use. | false | null | ||||||||
compatible | Force compatibility of some features with an older version of the driver. | false |
| null | |||||||
loginTimeout | The login timeout, in seconds; 0 means no timeout beyond the normal TCP connection timout. | false | null | ||||||||
socketTimeout | The timeout value for socket read operations, in seconds; 0 means no timeout. | false | null | ||||||||
tcpKeepAlive | Enable or disable TCP keep-alive probe. | false | null | ||||||||
stringtype | The type to bind String parameters as (usually 'varchar'; 'unspecified' allows implicit casting to other types) | false |
| null | |||||||
kerberosServerName | The Kerberos service name to use when authenticating with GSSAPI. This is equivalent to libpq's PGKRBSRVNAME environment variable. | false | null | ||||||||
jaasApplicationName | Specifies the name of the JAAS system or application login configuration. | false | null |
Thursday, 18 February 2016
[JDBC] PostgreSQL JDBC Driver Properties
PostgreSQL JDBC Driver
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment