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
SQLExceptionpublic Connection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionpublic boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic void deregister()
deregister in interface DriverActionpublic static void cleanup()