Interface Connector


  • public interface Connector
    Interface for objects which can supply a JDBC Connection to a single database.

    Should its use be replaced by use of the similar but bigger (and beany) javax.sql.DataSource interface?

    • Method Detail

      • getConnection

        java.sql.Connection getConnection()
                                   throws java.sql.SQLException
        Returns a JDBC Connection object.
        Returns:
        a connection
        Throws:
        java.sql.SQLException