public class LoggingDriver extends AbstractArcDriver
"jdbc:mysql:logging://" url's that will log out actions occurring.
This is not intended to be used externally, but rather is a tool for debugging and internal driver development.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
URL_PREFIX |
| Constructor and Description |
|---|
LoggingDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(java.lang.String url) |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info) |
java.util.logging.Logger |
getParentLogger() |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info) |
boolean |
jdbcCompliant() |
static void |
registerDriver()
Another way to register the driver.
|
getMajorVersion, getMinorVersionpublic static final java.lang.String URL_PREFIX
public static void registerDriver()
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean jdbcCompliant()
public java.util.logging.Logger getParentLogger()
throws java.sql.SQLFeatureNotSupportedException
java.sql.SQLFeatureNotSupportedException