|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Connection | |
java.sql | Provides the JDBC package. |
Uses of Connection in java.sql |
Methods in java.sql that return Connection | |
Connection | Driver.connect(String url,
Properties info)
Try 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. |
static Connection | DriverManager.getConnection(String url,
Properties info)
Attempt to establish a connection to the given database URL. The DriverManager attempts to select an appropriate driver from the set of registered JDBC drivers. |
static Connection | DriverManager.getConnection(String url,
String user,
String password)
Attempt to establish a connection to the given database URL. The DriverManager attempts to select an appropriate driver from the set of registered JDBC drivers. |
static Connection | DriverManager.getConnection(String url)
Attempt to establish a connection to the given database URL. The DriverManager attempts to select an appropriate driver from the set of registered JDBC drivers. |
Connection | Statement.getConnection()
JDBC 2.0 Return the Connection that produced the Statement. |
Connection | DatabaseMetaData.getConnection()
JDBC 2.0 Return the connection that produced this metadata object. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |