Package com.impossibl.postgres.jdbc
Class PGDriver
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGDriver
-
- All Implemented Interfaces:
Driver
,DriverAction
public class PGDriver extends Object implements Driver, DriverAction
Driver implementation
-
-
Constructor Summary
Constructors Constructor Description PGDriver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
connect
public Connection connect(String url, Properties info) throws SQLException
- Specified by:
connect
in interfaceDriver
- Throws:
SQLException
-
acceptsURL
public boolean acceptsURL(String url)
- Specified by:
acceptsURL
in interfaceDriver
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
- Specified by:
getPropertyInfo
in interfaceDriver
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interfaceDriver
-
getParentLogger
public Logger getParentLogger()
- Specified by:
getParentLogger
in interfaceDriver
-
deregister
public void deregister()
- Specified by:
deregister
in interfaceDriverAction
-
cleanup
public static void cleanup()
-
-