uk.ac.starlink.table.jdbc
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 Summary
 Connection getConnection()
          Returns a JDBC Connection object.
 

Method Detail

getConnection

Connection getConnection()
                         throws SQLException
Returns a JDBC Connection object.

Returns:
a connection
Throws:
SQLException

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.