| Modifier and Type | Field and Description |
|---|---|
| private static final System. | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | acceptsURL(String url)
Implements java. Retrieves whether the driver thinks that it can open a connection to the given URL. |
| public Connection | connect(String url, Properties props)
Implements java. Attempts to make a database connection to the given URL. |
| public int | getMajorVersion()
Implements java. Retrieves the driver's major version number. |
| public int | getMinorVersion()
Implements java. Gets the driver's minor version number. |
| public java. | getParentLogger()
Implements java. Return the parent Logger of all the Loggers used by this driver. |
| public DriverPropertyInfo[] | getPropertyInfo(String url, Properties arg1)
Implements java. Gets information about the possible properties for this driver. |
| public boolean | jdbcCompliant()
Implements java. Reports whether this driver is a genuine JDBC Compliant driver. |
| private IJackcessOpenerInterface | Returns: a new instance of the given classfully qualified name of a class implementing className)IJackcessOpenerInterfaceLoads the class with the given name and instantiates it via its public no-arg constructor,
provided it implements |
| pack-priv static Map | Returns: map of unknown and normalized propertiesinput properties input, String driver url url, BiConsumer<String, String> consumer of unknown property key/value unknownConsumer)Normalizes properties received as input and found in the driver url and returns a map of typed properties. |
| private Integer |
| LOGGER | back to summary |
|---|---|
| private static final System. | |
| URL_PREFIX | back to summary |
|---|---|
| public static final String URL_PREFIX | |
| UcanaccessDriver | back to summary |
|---|---|
| public UcanaccessDriver() | |
| acceptsURL | back to summary |
|---|---|
| public boolean acceptsURL(String url) Implements java. Doc from java. Retrieves whether the driver thinks that it can open a connection
to the given URL. Typically drivers will return
| |
| connect | back to summary |
|---|---|
| public Connection connect(String url, Properties props) throws SQLException Implements java. Doc from java. Attempts to make a database connection to the given URL. The driver should return "null" if it realizes it is the wrong kind of driver to connect to the given URL. This will be common, as when the JDBC driver manager is asked to connect to a given URL it passes the URL to each loaded driver in turn. The driver should throw an The Note If a property is specified as part of the
| |
| getMajorVersion | back to summary |
|---|---|
| public int getMajorVersion() Implements java. Doc from java. Retrieves the driver's major version number. Initially this should be 1.
| |
| getMinorVersion | back to summary |
|---|---|
| public int getMinorVersion() Implements java. Doc from java. Gets the driver's minor version number. Initially this should be 0.
| |
| getParentLogger | back to summary |
|---|---|
| public java. Implements java. Doc from java. Return the parent Logger of all the Loggers used by this driver. This should be the Logger farthest from the root Logger that is still an ancestor of all of the Loggers used by this driver. Configuring this Logger will affect all of the log messages generated by the driver. In the worst case, this may be the root Logger.
| |
| getPropertyInfo | back to summary |
|---|---|
| public DriverPropertyInfo[] getPropertyInfo(String url, Properties arg1) Implements java. Doc from java. Gets information about the possible properties for this driver.
The
| |
| jdbcCompliant | back to summary |
|---|---|
| public boolean jdbcCompliant() Implements java. Doc from java. Reports whether this driver is a genuine JDBC
Compliant driver.
A driver may only report JDBC compliance requires full support for the JDBC API and full support for SQL 92 Entry Level. It is expected that JDBC compliant drivers will be available for all the major commercial databases. This method is not intended to encourage the development of non-JDBC compliant drivers, but is a recognition of the fact that some vendors are interested in using the JDBC API and framework for lightweight databases that do not support full database functionality, or for special databases such as document information retrieval where a SQL implementation may not be feasible.
| |
| newJackcessOpenerInstance | back to summary |
|---|---|
| private IJackcessOpenerInterface newJackcessOpenerInstance(String className) throws UcanaccessSQLException Loads the class with the given name and instantiates it via its public no-arg constructor,
provided it implements Security Note
| |
| readProperties | back to summary |
|---|---|
| pack-priv static Map Normalizes properties received as input and found in the driver url and returns a map of typed properties.
| |
| validateLobScale | back to summary |
|---|---|
| private Integer validateLobScale(String property) | |