Package com.nt.udc.db

Interface JDBCConnectionFactoryIfc

All Known Implementing Classes:
DBConnectionFactory, OracleConnectionFactory

public interface JDBCConnectionFactoryIfc
Generic interface used for generating java.sql.Connection objects to JDBC-compliant databases. Should be implemented to produce database-specific Connection objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a java.sql.Connection object to be used for reading/writing data from/to a JDBC-compliant database.
     
  • Method Details

    • getDBUser

      String getDBUser()
    • getConnection

      Connection getConnection() throws SQLException
      Returns a java.sql.Connection object to be used for reading/writing data from/to a JDBC-compliant database.
      Returns:
      A java.sql.Connection object
      Throws:
      SQLException