java.sql
Class DriverManager
java.lang.Object
java.sql.DriverManager
- public class DriverManager
- extends Object
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriverManager
public DriverManager()
getLogWriter
public static PrintWriter getLogWriter()
- Specifications: nullable
setLogWriter
public static void setLogWriter(nullable PrintWriter out)
getConnection
public static Connection getConnection(String url,
Properties info)
throws SQLException
- Throws:
SQLException
- Specifications: non_null
getConnection
public static Connection getConnection(non_null String url,
nullable String user,
nullable String password)
throws SQLException
- Throws:
SQLException
- Specifications: non_null
getConnection
public static Connection getConnection(non_null String url)
throws SQLException
- Throws:
SQLException
- Specifications: non_null
getDriver
public static Driver getDriver(non_null String url)
throws SQLException
- Throws:
SQLException
- Specifications: non_null
registerDriver
public static void registerDriver(non_null Driver driver)
throws SQLException
- Throws:
SQLException
deregisterDriver
public static void deregisterDriver(non_null Driver driver)
throws SQLException
- Throws:
SQLException
getDrivers
public static Enumeration getDrivers()
- Specifications: non_null
setLoginTimeout
public static void setLoginTimeout(int seconds)
getLoginTimeout
public static int getLoginTimeout()
setLogStream
public static void setLogStream(nullable PrintStream out)
getLogStream
public static PrintStream getLogStream()
- Specifications: nullable
println
public static void println(String message)
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.