public class PGDriver extends Object implements Driver, DriverAction
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
static String |
NAME
The name of the driver
|
static Version |
VERSION
The version of the driver
|
Constructor and Description |
---|
PGDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(String url) |
static void |
cleanup() |
Connection |
connect(String url,
Properties info) |
void |
deregister() |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant() |
public static final String NAME
public static final Version VERSION
public static final Logger logger
public PGDriver() throws SQLException
SQLException
public Connection connect(String url, Properties info) throws SQLException
connect
in interface Driver
SQLException
public boolean acceptsURL(String url) throws SQLException
acceptsURL
in interface Driver
SQLException
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo
in interface Driver
SQLException
public int getMajorVersion()
getMajorVersion
in interface Driver
public int getMinorVersion()
getMinorVersion
in interface Driver
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface Driver
SQLFeatureNotSupportedException
public void deregister()
deregister
in interface DriverAction
public static void cleanup()