Package | Description |
---|---|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
JavaTM programming language.
|
Modifier and Type | Method and Description |
---|---|
static Driver |
DriverManager.getDriver(String url)
Attempts to locate a driver that understands the given URL.
|
Modifier and Type | Method and Description |
---|---|
static Enumeration<Driver> |
DriverManager.getDrivers()
Retrieves an Enumeration with all of the currently loaded JDBC drivers
to which the current caller has access.
|
Modifier and Type | Method and Description |
---|---|
static void |
DriverManager.deregisterDriver(Driver driver)
Removes the specified driver from the
DriverManager 's list of
registered drivers. |
static void |
DriverManager.registerDriver(Driver driver)
Registers the given driver with the
DriverManager . |
static void |
DriverManager.registerDriver(Driver driver,
DriverAction da)
Registers the given driver with the
DriverManager . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.