jxDBCon 0.9z

org.sourceforge.jxdbcon.postgresql
Interface PGInfoKeys

All Superinterfaces:
InfoKeys
All Known Implementing Classes:
LibProtocol, NetProtocol, PGConnection

public interface PGInfoKeys
extends InfoKeys

PGInfoKeys defines the keys used in the connection properties specific to the PostgreSQL frontend.

Version:
$Revision: 1.4 $
Author:
Keve Müller

Field Summary
static String FORCECLIENTENC
          Force a Set client encoding.
static String OPTIONS
          Additional options passed to the backend.
static String PROTOVERSION
          Protocol version to use.
static String SETTIMEZONE
          Specify client time zone.
static String STRICTSCHEMA
          Strict checking for SCHEMA parameter in DatabaseMetaData.
static String TTY
          The tty for the backend to write additional debug info to.
static String USEASYNC
          Use async notification protocol.
static String USECLIENTENC
          Override client encoding.
static String USEDBENC
          Use server encoding.
static String USESSL
          Try to establish SSL secured connection.
 
Fields inherited from interface org.sourceforge.jxdbcon.InfoKeys
CATALOG, DESCRIPTION, DRIVER, HOST, PASSWORD, PORT, SUBDRIVER, USER
 

Field Detail

FORCECLIENTENC

public static final String FORCECLIENTENC
Force a Set client encoding. If this property is present, then its value is sent as a SET CLIENT_ENCODING TO command to the backend prior to any other command.

See Also:
Constant Field Values

OPTIONS

public static final String OPTIONS
Additional options passed to the backend. The value supplied to this property is passed in the startup packet to the backend which appends it to the command line.

See Also:
Constant Field Values

PROTOVERSION

public static final String PROTOVERSION
Protocol version to use. The value is interpreted as an integer that denotes the version number of the protocol that should be used to connect to the backend. Possible values are 0,1,2.

See Also:
Constant Field Values

SETTIMEZONE

public static final String SETTIMEZONE
Specify client time zone. If this property is set, then the backend is informed of the client time zone via a call to SET TIME ZONE. If no value is specified the JVM's default time zone is transmitted.

See Also:
Constant Field Values

STRICTSCHEMA

public static final String STRICTSCHEMA
Strict checking for SCHEMA parameter in DatabaseMetaData. If this property is present, the DatabaseMetaData functions will do strict checking of a supplied SCHEMA parameter. Returning empty result sets for anything but a null, as PostgreSQL does not support schemas and therefore nothing can match a non null schema pattern. If not set, the functions simply ignore the parameter.

See Also:
Constant Field Values

TTY

public static final String TTY
The tty for the backend to write additional debug info to. The value supplied to this property is passed in the startup packet to the backend.

See Also:
Constant Field Values

USEASYNC

public static final String USEASYNC
Use async notification protocol. According to the protocol specification the backend can at any time send a notification packet. When using the default (polling) protocol this packet is processed only after sending out the next query. When this (key-only) property is set, the driver starts a new Thread to handle the protocol and can react immeadiately to the notification by sending out an PGNotifyEvent.

See Also:
Constant Field Values

USECLIENTENC

public static final String USECLIENTENC
Override client encoding. If this property is present, then its value is used as the Java encoding name for converting text data in the protocol. No attempt is made to find out the client encoding the backend thinks it is using.

See Also:
Constant Field Values

USEDBENC

public static final String USEDBENC
Use server encoding. If this property is present, then its value will override the encoding queried from the backend.

See Also:
Constant Field Values

USESSL

public static final String USESSL
Try to establish SSL secured connection. When this property is set, the driver tries to establish an SSL secured connection to the backend. For this to work the backend has to be compiled with SSL, and the driver has to be compiled with JSSE. If the property's value is set to "force", an Exception will be thrown if the SSL secured connection cannot be established. Otherwise the driver continues on the unsecured channel. NOTE: Configure Your backend pg_hba.conf appropriately.

See Also:
Constant Field Values

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.