Share via


DriverManager Members

Class Overview | This Package | All Packages

Methods

Name Description
deregisterDriver(Driver) Drop a Driver from the DriverManager's list.
getConnection(String) Attempt to establish a connection to the given database URL.
getConnection(String, Properties) Attempt to establish a connection to the given database URL.
getConnection(String, String, String) Attempt to establish a connection to the given database URL.
getDriver(String) Attempt to locate a driver that understands the given URL.
getDrivers() Return an Enumeration of all the currently loaded JDBC drivers which the current caller has access to.
getLoginTimeout() Get the maximum time in seconds that all drivers can wait when attempting to log in to a database.
getLogStream() Get the logging/tracing PrintStream that is used by the DriverManager and all drivers.
println(String) Print a message to the current JDBC log stream
registerDriver(Driver) A newly loaded driver class should call registerDriver to make itself known to the DriverManager.
setLoginTimeout(int) Set the maximum time in seconds that all drivers can wait when attempting to log in to a database.
setLogStream(PrintStream) Set the logging/tracing PrintStream that is used by the DriverManager and all drivers.