站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.sql.Connection - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.sql.Connection

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)
          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 Statement.getConnection()
          JDBC 2.0 Returns the Connection object that produced this Statement object.
 Connection DatabaseMetaData.getConnection()
          JDBC 2.0 Retrieves the connection that produced this metadata object.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.