JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Interface
java.sql.Connection

Packages that use Connection
java.sql Provides the API for accessing and processing data in a data source using the JavaTM programming language. 
 

Uses of Connection in java.sql
 

Methods in java.sql that return Connection
 Connection Statement.getConnection()
          Returns the Connection object that produced this Statement object.
 Connection Driver.connect(String url, Properties info)
          Attempts to make a database connection to the given URL.
static Connection DriverManager.getConnection(String url, Properties info)
          Attempts to establish a connection to the given database URL.
static Connection DriverManager.getConnection(String url, String user, String password)
          Attempts to establish a connection to the given database URL.
static Connection DriverManager.getConnection(String url)
          Attempts to establish a connection to the given database URL.
 Connection DatabaseMetaData.getConnection()
          Retrieves the connection that produced this metadata object.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.