DriverManager

E277023

DriverManager is a core JDBC utility class in Java that manages a list of database drivers and establishes connections to databases based on provided URLs and credentials.

All labels observed (2)

Label Occurrences
DriverManager canonical 1
java.sql.DriverManager 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf JDBC utility class ⓘ
Java class ⓘ
accessModifier public ⓘ
belongsToPlatform Java SE ⓘ
defaultLoginTimeout 0 (no timeout) ⓘ
designPattern singleton-like ⓘ
utility class ⓘ
domain database connectivity ⓘ
fullyQualifiedName java.sql.DriverManager ⓘ
linked to: DriverManager
hasConstructor private DriverManager() ⓘ
historicalUsage Class.forName("driverClassName") for driver loading ⓘ
introducedInVersion JDK 1.1 ⓘ
is final class ⓘ
loggingTarget java.io.PrintStream ⓘ
java.io.PrintWriter ⓘ
method deregisterDriver(java.sql.Driver driver) ⓘ
getConnection(String url) ⓘ
getConnection(String url, String user, String password) ⓘ
getConnection(String url, java.util.Properties info) ⓘ
getDriver(String url) ⓘ
getDrivers() ⓘ
getLogStream() ⓘ
getLogWriter() ⓘ
getLoginTimeout() ⓘ
println(String message) ⓘ
registerDriver(java.sql.Driver driver) ⓘ
setLogStream(java.io.PrintStream out) ⓘ
setLogWriter(java.io.PrintWriter out) ⓘ
setLoginTimeout(int seconds) ⓘ
methodModifier static ⓘ
package java.sql ⓘ
partOf JDBC API ⓘ
linked to: JDBC
programmingLanguage Java ⓘ
replacedByInModernCode javax.sql.DataSource (recommended) ⓘ
requires driver class on application classpath ⓘ
responsibility establish database connections ⓘ
log JDBC activities ⓘ
manage driver registration ⓘ
manage list of JDBC drivers ⓘ
select appropriate driver for URL ⓘ
set login timeout ⓘ
selectsDriverBasedOn JDBC URL prefix ⓘ
standard part of Java Standard Edition API ⓘ
threadSafety not guaranteed fully thread-safe for all operations ⓘ
throwsException java.sql.SQLException ⓘ
uses java.util.ServiceLoader (in modern JDBC drivers) ⓘ
usesInterface java.sql.Driver ⓘ
usesMechanism Service Provider mechanism ⓘ

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

JDBC → hasComponent → DriverManager ⓘ
DriverManager → fullyQualifiedName → java.sql.DriverManager ⓘ
linked to: DriverManager