public class PGDriver extends Object implements Driver
Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
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() |
PGConnection |
connect(String url,
Properties info) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant() |
public static final Version VERSION
public static final Logger logger
public PGDriver() throws SQLException
SQLException
public PGConnection 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 static void cleanup()
Copyright © 2013–2017 impossibl.com. All rights reserved.