API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql. DataSource View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 CommonDataSource
      DataSource
Subinterfaces
Description
public interface DataSource
  A factory for connections to the physical data source that this DataSource object represents.
See also:   
Methods
Hide/Show inherited methods
public Connection getConnection () throws SQLException
  Attempts to establish a connection with the data source that this DataSource object represents.
public Connection getConnection (String username, String password) throws SQLException
  Attempts to establish a connection with the data source that this DataSource object represents.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar