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
SQLExceptionpublic PGConnection 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 static void cleanup()
Copyright © 2013–2017 impossibl.com. All rights reserved.